W3cubDocs

/WordPress

WP_Posts_List_Table::set_hierarchical_display( bool $display )

Sets whether the table layout should be hierarchical or not.

Parameters

$displayboolrequired
Whether the table layout should be hierarchical.

Source

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

Changelog

Version Description
4.2.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_posts_list_table/set_hierarchical_display