WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about wp_get_revision_ui_diff

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-admin/includes/revision.php apply_filters 159 /**
* Filters the fields displayed in the post revision diff UI.
*
* @since 4.1.0
*
* @param array[] $return Array of revision UI fields. Each item is an array of id, name, and diff.
* @param WP_Post $compare_from The revision post to compare from.
* @param WP_Post $compare_to The revision post to compare to.
*/

Hook Parameters

Parameter Type Name Description
array[] $return Array of revision UI fields. Each item is an array of id, name, and diff.
WP_Post $compare_from The revision post to compare from.
WP_Post $compare_to The revision post to compare to.