pre_months_dropdown_query, false, $post_type
pre_months_dropdown_query, false, $post_type
Appears in: 7.0.3
Hook Type: filter
Displaying hooks found in version: 7.0.3apply_filters('pre_months_dropdown_query, false, $post_type') is found 1 times:
- /wp-admin/includes/class-wp-list-table.php line 723
* * @param object[]|false $months 'Months' drop-down results. Default false. * @param string $post_type The post type. */ $months = apply_filters( 'pre_months_dropdown_query', false, $post_type ); if ( ! is_array( $months ) ) { $extra_checks = "AND post_status != 'auto-draft'"; if ( ! isset( $_GET['post_status'] ) || 'trash' !== $_GET['post_status'] ) { $extra_checks .= " AND post_status != 'trash'"; } elseif ( isset( $_GET['post_status'] ) ) {