handle_bulk_actions-
handle_bulk_actions-
Appears in: wordpress-4.8, wordpress-4.9, wordpress-4.9.4, wordpress-4.9.5, wordpress-4.9.6, wordpress-4.9.7, wordpress-4.9.8, wordpress-5.0, wordpress-5.0.1, wordpress-5.0.2, wordpress-5.0.3, wordpress-5.1, wordpress-5.1.1, wordpress-5.2, wordpress-5.2.1, wordpress-5.2.2, wordpress-5.2.3, wordpress-5.2.4, wordpress-5.3, wordpress-5.3.1, wordpress-5.3.2
Hook Type: filter
Displaying hooks found in version: wordpress-5.3.2apply_filters('handle_bulk_actions-') is found 6 times:
- /wp-admin/edit-tags.php line 204200201202203204205206207208209210
}
check_admin_referer(
'bulk-tags'
);
$tags
= (
array
)
$_REQUEST
[
'delete_tags'
];
/** This action is documented in wp-admin/edit-comments.php */
$location
= apply_filters(
'handle_bulk_actions-'
. get_current_screen()->id,
$location
,
$wp_list_table
->current_action(),
$tags
);
// phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
break
;
}
if
( !
$location
&& !
empty
(
$_REQUEST
[
'_wp_http_referer'
] ) ) {
$location
= remove_query_arg(
array
(
'_wp_http_referer'
,
'_wpnonce'
), wp_unslash(
$_SERVER
[
'REQUEST_URI'
] ) );
}
- /wp-admin/edit.php line 186182183184185186187188189190191192
}
break
;
default
:
/** This action is documented in wp-admin/edit-comments.php */
$sendback
= apply_filters(
'handle_bulk_actions-'
. get_current_screen()->id,
$sendback
,
$doaction
,
$post_ids
);
// phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
break
;
}
$sendback
= remove_query_arg(
array
(
'action'
,
'action2'
,
'tags_input'
,
'post_author'
,
'comment_status'
,
'ping_status'
,
'_status'
,
'post'
,
'bulk_edit'
,
'post_view'
),
$sendback
);
wp_redirect(
$sendback
);
- /wp-admin/link-manager.php line 3633343536373839404142
$redirect_to
= add_query_arg(
'deleted'
,
count
(
$bulklinks
),
$redirect_to
);
}
else
{
/** This action is documented in wp-admin/edit-comments.php */
$redirect_to
= apply_filters(
'handle_bulk_actions-'
. get_current_screen()->id,
$redirect_to
,
$doaction
,
$bulklinks
);
// phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
}
wp_redirect(
$redirect_to
);
exit
;
}
elseif
( !
empty
(
$_GET
[
'_wp_http_referer'
] ) ) {
wp_redirect( remove_query_arg(
array
(
'_wp_http_referer'
,
'_wpnonce'
), wp_unslash(
$_SERVER
[
'REQUEST_URI'
] ) ) );
exit
;
- /wp-admin/plugins.php line 421417418419420421422423424425426427
$plugins
= isset(
$_POST
[
'checked'
] ) ? (
array
) wp_unslash(
$_POST
[
'checked'
] ) :
array
();
$sendback
= wp_get_referer();
/** This action is documented in wp-admin/edit-comments.php */
$sendback
= apply_filters(
'handle_bulk_actions-'
. get_current_screen()->id,
$sendback
,
$action
,
$plugins
);
// phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
wp_safe_redirect(
$sendback
);
exit
;
}
break
;
}
}
- /wp-admin/upload.php line 202198199200201202203204205206207208
$location
= add_query_arg(
'deleted'
,
count
(
$post_ids
),
$location
);
break
;
default
:
/** This action is documented in wp-admin/edit-comments.php */
$location
= apply_filters(
'handle_bulk_actions-'
. get_current_screen()->id,
$location
,
$doaction
,
$post_ids
);
// phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
}
wp_redirect(
$location
);
exit
;
}
elseif
( !
empty
(
$_GET
[
'_wp_http_referer'
] ) ) {
wp_redirect( remove_query_arg(
array
(
'_wp_http_referer'
,
'_wpnonce'
), wp_unslash(
$_SERVER
[
'REQUEST_URI'
] ) ) );
- /wp-admin/users.php line 463459460461462463464465466467468469
$userids
=
$_REQUEST
[
'users'
];
$sendback
= wp_get_referer();
/** This action is documented in wp-admin/edit-comments.php */
$sendback
= apply_filters(
'handle_bulk_actions-'
. get_current_screen()->id,
$sendback
,
$wp_list_table
->current_action(),
$userids
);
// phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
wp_safe_redirect(
$sendback
);
exit
;
}
$wp_list_table
->prepare_items();