Description
Filters revisions text diff options. Filters the options passed to wp_text_diff() when viewing a post revision. un-split view (single column). Default true. }
Occurrences
Filename | Line Number |
---|---|
wp-admin/includes/revision.php | 118 |
Parameters
Type | Name | Description |
---|---|---|
array | $args | { Associative array of options to pass to wp_text_diff(). |
string | $field | The current revision field. |
WP_Post | $compare_from | The revision post to compare from. |
WP_Post | $compare_to | The revision post to compare to. |
PHP Doc
/**
* Filters revisions text diff options.
*
* Filters the options passed to wp_text_diff() when viewing a post revision.
*
* @since 4.1.0
*
* @param 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.
* }
* @param string $field The current revision field.
* @param WP_Post $compare_from The revision post to compare from.
* @param WP_Post $compare_to The revision post to compare to.
*/