Filters whether to short-circuit performing the months dropdown query.
$monthsobject[]|false
'Months' drop-down results. Default false.$post_typestring
$months = apply_filters( 'pre_months_dropdown_query', false, $post_type );
| Version | Description |
|---|---|
| 5.7.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_months_dropdown_query