Uma área de pesquisa sobre o WordPress para devs e autores do tema



wp_get_revision_ui_diff ›

Desde4.1.0
Obsoleton/a
apply_filters( 'wp_get_revision_ui_diff', $return, $compare_from, $compare_to )
Parâmetros: (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
Definido em:
Codex:

Filters the fields displayed in the post revision diff UI.





Fonte

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