Used By
Used By | Description |
---|---|
wp-admin/includes/revision.php: wp_prepare_revisions_for_js() | Prepare revisions for JavaScript. |
Filters the array of revisions used on the revisions screen.
(array) The bootstrapped data for the revisions screen.
(int) Revision ID.
(string) Title for the revision's parent WP_Post object.
(int) Revision post author ID.
(string) Date the revision was modified.
(string) Short-form version of the date the revision was modified.
(string) GMT-aware amount of time ago the revision was modified.
(bool) Whether the revision is an autosave.
(bool) Whether the revision is both not an autosave and the post modified date matches the revision modified date (GMT-aware).
(bool|false) URL if the revision can be restored, false otherwise.
Version | Description |
---|---|
4.4.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_prepare_revision_for_js