apply_filters( ‘months_dropdown_results’, object[] $months, string $post_type )

In this article

Filters the ‘Months’ drop-down results.

Parameters

$monthsobject[]
Array of the months drop-down query results.
$post_typestring
The post type.

Source

$months = apply_filters( 'months_dropdown_results', $months, $post_type );

Changelog

VersionDescription
3.7.0Introduced.

User Contributed Notes

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