WP_Posts_List_Table::set_hierarchical_display()publicWP 4.2.0

Sets whether the table layout should be hierarchical or not.

Method of the class: WP_Posts_List_Table{}

No Hooks.

Return

null. Nothing (null).

Usage

$WP_Posts_List_Table = new WP_Posts_List_Table();
$WP_Posts_List_Table->set_hierarchical_display( $display );
$display(true|false) (required)
Whether the table layout should be hierarchical.

Changelog

Since 4.2.0 Introduced.

WP_Posts_List_Table::set_hierarchical_display() code WP 6.6.2

public function set_hierarchical_display( $display ) {
	$this->hierarchical_display = $display;
}