Used By
Used By | Description |
---|---|
wp-includes/pluggable.php: wp_text_diff() | Displays a human readable HTML representation of the difference between two strings. |
Constructor – Call parent constructor with params array.
This will set class properties based on the key value pairs in the array.
(array) (Optional)
Default value: array()
File: wp-includes/class-wp-text-diff-renderer-table.php
public function __construct( $params = array() ) { parent::__construct( $params ); if ( isset( $params['show_split_view'] ) ) { $this->_show_split_view = $params['show_split_view']; } }
Version | Description |
---|---|
2.6.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_text_diff_renderer_table/__construct