Un motore di ricerca WordPress per sviluppatori e autori di temi



revision_text_diff_options ›

Da4.1.0
Deprecaton/a
apply_filters( 'revision_text_diff_options', $args, $field, $compare_from, $compare_to )
Parametri: (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. }
    Richiesto:
  • (string) $field The current revision field.
    Richiesto:
  • (WP_Post) $compare_from The revision post to compare from.
    Richiesto:
  • (WP_Post) $compare_to The revision post to compare to.
    Richiesto:
Definito a:
Codex:

Filters revisions text diff options.

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





Sorgenti

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