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.
Return
Null. Nothing.
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. |
Code of WP_Text_Diff_Renderer_Table::__construct() 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'];
}
}