wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_get_revision_ui_diff › WordPress Filter Hooks

Since4.1.0
Deprecatedn/a
apply_filters( 'wp_get_revision_ui_diff', $return, $compare_from, $compare_to )
Parameters: (3)
  • (array[]) $return Array of revision UI fields. Each item is an array of id, name, and diff.
    Required: Yes
  • (WP_Post) $compare_from The revision post to compare from.
    Required: Yes
  • (WP_Post) $compare_to The revision post to compare to.
    Required: Yes
Defined at:
Codex:

Filters the fields displayed in the post revision diff UI.





Source

return apply_filters( 'wp_get_revision_ui_diff', $return, $compare_from, $compare_to );