WordPress at Your Fingertips
function is not described

WP_Posts_List_Table::set_hierarchical_display() public WP 4.2.0

Sets whether the table layout should be hierarchical or not.

{} It's a method of the class: WP_Posts_List_Table{}

No Hooks.

Return

null. Nothing.

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.

Code of WP_Posts_List_Table::set_hierarchical_display() WP 5.8.2

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