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



handle_network_bulk_actions-{$screen} › Les Filtres WordPress

Depuis4.7.0
Dépréciéen/a
apply_filters( "handle_network_bulk_actions-{$screen}", $referer, $action, $themes, $id )
Paramètres: (4)
  • (string) $redirect_url The redirect URL.
    Requis: Oui
  • (string) $action The action being taken.
    Requis: Oui
  • (array) $items The items to take the action on.
    Requis: Oui
  • (int) $site_id The site ID.
    Requis: Oui
Défini(e) dans:
Codex:

Fires when a custom bulk action should be handled.

The redirect link should be modified with success or failure feedback from the action to be used to display feedback to the user.

The dynamic portion of the hook name, $screen, refers to the current screen ID.





Source

$referer = apply_filters( "handle_network_bulk_actions-{$screen}", $referer, $action, $themes, $id ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores