WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
фильтр не описан

handle_bulk_actions-(screen_id) хук-фильтр . WP 4.7.0

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.

Использование

add_filter( 'handle_bulk_actions-(screen_id)', 'filter_function_name_5', 10, 3 );
function filter_function_name_5( $redirect_url, $doaction, $items ){
	// filter...

	return $redirect_url;
}
$redirect_url(строка)
The redirect URL.
$doaction(строка)
The action being taken.
$items(массив)
The items to take the action on.

Список изменений

С версии 4.7.0 Введена.

Где вызывается хук

В файле: /wp-admin/edit-comments.php
handle_bulk_actions-(screen_id)
wp-admin/edit-comments.php 109
$redirect_to = apply_filters( "handle_bulk_actions-{$screen}", $redirect_to, $doaction, $comment_ids ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
wp-admin/link-manager.php 36
$redirect_to = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $redirect_to, $doaction, $bulklinks ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
wp-admin/edit.php 186
$sendback = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $sendback, $doaction, $post_ids ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
wp-admin/plugins.php 421
$sendback = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $sendback, $action, $plugins );  // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
wp-admin/edit-tags.php 204
$location = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $location, $wp_list_table->current_action(), $tags );  // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
wp-admin/upload.php 202
$location = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $location, $doaction, $post_ids ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
wp-admin/users.php 463
$sendback = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $sendback, $wp_list_table->current_action(), $userids ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores

Где используется хук (в ядре WP)

Использование не найдено.