WordPress at a glance
функция не описана

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{}

Хуков нет.

Возвращает

Null. Ничего.

Использование

$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() WP 5.5.1

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