WP_Text_Diff_Renderer_Table::__construct

Advertisement

Summery Summery

Constructor – Call parent constructor with params array.

Syntax Syntax

WP_Text_Diff_Renderer_Table::__construct( array $params = array() )

Description Description

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

Parameters Parameters

$params

(Optional)

Default value: array()

Source Source

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'];
		}
	}

Advertisement

Changelog Changelog

Changelog
Version Description
2.6.0 Introduced.

Advertisement

Leave a Reply