Used By
Used By | Description |
---|---|
wp-admin/includes/revision.php: wp_get_revision_ui_diff() | Get the revision UI diff. |
Contextually filter a post revision field.
The dynamic portion of the hook name, $field
, corresponds to each of the post fields of the revision object being iterated over in a foreach statement.
(string) The current revision field to compare to or from.
(string) The current revision field.
(WP_Post) The revision post object to compare to or from.
(string) The context of whether the current revision is the old or the new one. Values are 'to' or 'from'.
Version | Description |
---|---|
3.6.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/_wp_post_revision_field_field