Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
* Adds a new item into the Bulk Actions dropdown.
function register_my_bulk_actions( $bulk_actions ) {
$bulk_actions['draft_posts'] = __( 'Move to Draft', 'domain' );
return $bulk_actions;
add_filter( 'bulk_actions-edit-post', 'register_my_bulk_actions' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.