apply_filters( 'pre_months_dropdown_query', object[]|false $months , string $post_type )
Filters whether to short-circuit performing the months dropdown query.
Parameters
-
$months
object[]|false -
'Months'
drop-down results. Default false. -
$post_type
string -
The post type.
Source
File: wp-admin/includes/class-wp-list-table.php
.
View all references
$months = apply_filters( 'pre_months_dropdown_query', false, $post_type );
Changelog
Version | Description |
---|---|
5.7.0 | Introduced. |