WP_Text_Diff_Renderer_Table::__construct()publicWP 2.6.0

Constructor - Call parent constructor with params array.

This will set class properties based on the key value pairs in the array.

Method of the class: WP_Text_Diff_Renderer_Table{}

No Hooks.

Return

null. Nothing (null).

Usage

$WP_Text_Diff_Renderer_Table = new WP_Text_Diff_Renderer_Table();
$WP_Text_Diff_Renderer_Table->__construct( $params );
$params(array)
-
Default: array()

Changelog

Since 2.6.0 Introduced.

WP_Text_Diff_Renderer_Table::__construct() code WP 6.5.4

public function __construct( $params = array() ) {
	parent::__construct( $params );
	if ( isset( $params['show_split_view'] ) ) {
		$this->_show_split_view = $params['show_split_view'];
	}
}