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

Constructor – Call parent constructor with params array.


Description

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


Top ↑

Parameters

$params array Optional

Default: array()


Top ↑

Source

File: wp-includes/class-wp-text-diff-renderer-table.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
2.6.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.