apply_filters( 'pre_months_dropdown_query', object[]|false $months, string $post_type )
Filters 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
Changelog
Version | Description |
---|---|
5.7.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_months_dropdown_query