apply_filters( ‘pre_months_dropdown_query’, object[]|false $months, string $post_type )

In this article

Filters whether to short-circuit performing the months dropdown query.

Parameters

$monthsobject[]|false
'Months' drop-down results. Default false.
$post_typestring
The post type.

Source

$months = apply_filters( 'pre_months_dropdown_query', false, $post_type );

Changelog

VersionDescription
5.7.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.