WP_Posts_List_Table::set_hierarchical_display( bool $display )
Sets whether the table layout should be hierarchical or not.
Parameters
- $display
-
(bool) (Required) Whether the table layout should be hierarchical.
Source
File: wp-admin/includes/class-wp-posts-list-table.php
public function set_hierarchical_display( $display ) { $this->hierarchical_display = $display; }
Changelog
Version | Description |
---|---|
4.2.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_posts_list_table/set_hierarchical_display