Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wp_get_revision_ui_diff ›

Seit4.1.0
Veraltetn/v
apply_filters( 'wp_get_revision_ui_diff', $return, $compare_from, $compare_to )
Parameter: (3)
  • (array[]) $return Array of revision UI fields. Each item is an array of id, name, and diff.
    Erforderlich: Ja
  • (WP_Post) $compare_from The revision post to compare from.
    Erforderlich: Ja
  • (WP_Post) $compare_to The revision post to compare to.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the fields displayed in the post revision diff UI.





Quellcode

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