Filters the 'Months' drop-down results.
$months, $post_type
Sortie :
@param object[] $months Array of the months drop-down query results. @param string $post_type The post type.
// Modifier la valeur avec le filtre 'months_dropdown_results'
add_filter('months_dropdown_results', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($months) {
// Modifier la valeur
return $months;
}
Chargement des actualités...