WP_Posts_List_Table::is_base_request() – Determine if the current view is the "All" view.
You appear to be a bot. Output may be restricted
Description
Determine if the current view is the "All" view.
Usage
$bool = WP_Posts_List_Table::is_base_request();
Parameters
Returns
bool Whether the current view is the "All" view.
Source
File name: wordpress/wp-admin/includes/class-wp-posts-list-table.php
Lines:
1 to 12 of 12
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'] ); }