WordPress at a glance
function is not described

WP_Text_Diff_Renderer_Table::__construct() public WP 2.6.0

Constructor - Call parent constructor with params array.

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

{} It's a method of the class: WP_Text_Diff_Renderer_Table{}

No Hooks.


Null. Nothing.


$WP_Text_Diff_Renderer_Table = new WP_Text_Diff_Renderer_Table();
$WP_Text_Diff_Renderer_Table->__construct( $params );

Default: array()


Since 2.6.0 Introduced.

Code of WP_Text_Diff_Renderer_Table::__construct() WP 5.6

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