Filters revisions text diff options.
Filters the options passed to wp_text_diff() when viewing a post revision.
$argsarray
show_split_view booltitle stringtitle_left stringtitle_right stringshow_split_view bool$fieldstring
$compare_fromWP_Post
$compare_toWP_Post
$args = apply_filters( 'revision_text_diff_options', $args, $field, $compare_from, $compare_to );
| Version | Description |
|---|---|
| 4.1.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/revision_text_diff_options