Outil de recherche WordPress pour les développeurs et auteurs de thèmes



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

Depuis3.5.0
Dépréciéen/a
apply_filters( "bulk_actions-{$this->screen->id}", $this->_actions )
Paramètres:
  • (string[]) $actions An array of the available bulk actions.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the list table Bulk Actions drop-down.

The dynamic portion of the hook name, $this->screen->id, refers to the ID of the current screen, usually a string.

This filter can currently only be used to remove bulk actions.



Fonctions en relation:


Source

$this->_actions = apply_filters( "bulk_actions-{$this->screen->id}", $this->_actions );  // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores