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

Filters the ‘Months’ drop-down results.

Parameters

$months

(object[]) Array of the months drop-down query results.

$post_type

(string) The post type.

Source

File: wp-admin/includes/class-wp-list-table.php

View on Trac

Changelog

Version Description
3.7.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/months_dropdown_results