wp_get_revision_ui_diff WordPress Filter Hook
The wp_get_revision_ui_diff hook allows you to modify the diff output for the revision UI. This can be useful for customizing the display or for adding your own data to the diff.
apply_filters( 'wp_get_revision_ui_diff', array[] $return , WP_Post $compare_from , WP_Post $compare_to ) #
Filters the fields displayed in the post revision diff UI.
Parameters
Source
Changelog
Version | Description |
---|---|
4.1.0 | Introduced. |