Filters the postbox classes for a specific screen and box ID combo. The dynamic portions of the hook name, `$screen_id` and `$box_id`, refer to the screen ID and meta box ID, respectively.
$classes
Sortie :
@param string[] $classes An array of postbox classes.
// Modifier la valeur avec le filtre 'postbox_classes_{$screen_id}_{$box_id}'
add_filter('postbox_classes_{$screen_id}_{$box_id}', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($classes) {
// Modifier la valeur
return $classes;
}
Chargement des actualités...