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
- $return
-
Revision UI fields. Each item is an array of id, name and diff.
- $compare_from
-
The revision post to compare from.
- $compare_to
-
The revision post to compare to.
Source
Changelog
Version | Description |
---|---|
WP-4.1.0 | Introduced. |