mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-01 03:04:34 +00:00
Administration: Standardise the docblocks for the handle_bulk_actions-* filters.
Props ericlewis, Veraxus Fixes #16031 git-svn-id: https://develop.svn.wordpress.org/trunk@38958 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -163,18 +163,7 @@ if ( $doaction ) {
|
||||
}
|
||||
break;
|
||||
default:
|
||||
/**
|
||||
* Fires when a custom bulk action should be handled.
|
||||
*
|
||||
* The sendback link should be modified with success or failure feedback
|
||||
* from the action to be used to display feedback to the user.
|
||||
*
|
||||
* @since 4.7.0
|
||||
*
|
||||
* @param string $sendback The redirect URL.
|
||||
* @param string $doaction The action being taken.
|
||||
* @param array $post_ids The post IDs to take the action on.
|
||||
*/
|
||||
/** This action is documented in wp-admin/edit-comments.php */
|
||||
$sendback = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $sendback, $doaction, $post_ids );
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user