bulk_actions-{$this->screen->id}

FILTER wp-admin\includes\class-wp-list-table.php (ligne 591) github
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.

Paramètres

Entrée :
$this->_actions
Sortie :
@param array $actions An array of the available bulk actions.

Utilisation

// 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;
}

Actualités

Chargement des actualités...