apply_filters( “handle_network_bulk_actions-{$screen}”, string $redirect_url, string $action, array $items, int $site_id )

In this article

Fires when a custom bulk action should be handled.

Description

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.

Parameters

$redirect_urlstring
The redirect URL.
$actionstring
The action being taken.
$itemsarray
The items to take the action on.
$site_idint
The site ID.

Source

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

Changelog

VersionDescription
4.7.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.