Used By
Used By | Description |
---|---|
wp-admin/includes/class-wp-posts-list-table.php: WP_Posts_List_Table::get_views() |
Determine if the current view is the “All” view.
(bool) Whether the current view is the "All" view.
File: wp-admin/includes/class-wp-posts-list-table.php
protected function is_base_request() { $vars = $_GET; unset( $vars['paged'] ); if ( empty( $vars ) ) { return true; } elseif ( 1 === count( $vars ) && ! empty( $vars['post_type'] ) ) { return $this->screen->post_type === $vars['post_type']; } return 1 === count( $vars ) && ! empty( $vars['mode'] ); }
Version | Description |
---|---|
4.2.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_posts_list_table/is_base_request