wp_text_diff Wordpress function


Description:

Displays a human readable HTML representation of the difference between two strings.


Syntax:


Arguments:

(string) $left_string "old" (left) version of string
(string) $right_string "new" (right) version of string
(string|array) $args Optional. Change 'title', 'title_left', and 'title_right' defaults.


Return Type:

(string) Empty string if strings are equivalent or HTML with differences.


Define At:

wp-includes/pluggable.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/wp_text_diff


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×