Filters the items in the bulk actions menu of the list table. The dynamic portion of the hook name, `$this->screen->id`, refers to the ID of the current screen.
$this->_actions
Sortie :
@param array $actions An array of the available bulk actions.
// Modifier la valeur avec le filtre 'bulk_actions-{$this->screen->id}'
add_filter('bulk_actions-{$this->screen->id}', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($this->_actions) {
// Modifier la valeur
return $this->_actions;
}
Chargement des actualités...