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



revision_text_diff_options ›

Desde4.1.0
Obsoleton/a
apply_filters( 'revision_text_diff_options', $args, $field, $compare_from, $compare_to )
Parâmetros: (4)
  • (array) $args { Associative array of options to pass to wp_text_diff(). @type bool $show_split_view True for split view (two columns), false for un-split view (single column). Default true. }
    Required: Yes
  • (string) $field The current revision field.
    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 revisions text diff options.

Filters the options passed to wp_text_diff() when viewing a post revision.





Fonte

$args = apply_filters( 'revision_text_diff_options', $args, $field, $compare_from, $compare_to );