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

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_6862', 10, 3 );
function filter_function_name_6862( $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 103
$redirect_to = apply_filters( "handle_bulk_actions-{$screen}", $redirect_to, $doaction, $comment_ids );
wp-admin/link-manager.php 36
$redirect_to = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $redirect_to, $doaction, $bulklinks );
wp-admin/edit.php 185
$sendback = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $sendback, $doaction, $post_ids );
wp-admin/plugins.php 419
$sendback = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $sendback, $action, $plugins );
wp-admin/edit-tags.php 204
$location = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $location, $wp_list_table->current_action(), $tags );
wp-admin/upload.php 201
$location = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $location, $doaction, $post_ids );
wp-admin/users.php 457
$sendback = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $sendback, $wp_list_table->current_action(), $userids );

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

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