![WP Development](https://j1de48.p3cdn1.secureserver.net/wp-content/uploads/2012/02/wp-development-e1517349825831-1000x550.png)
Add a WordPress Custom Bulk Action
…p_die( __(‘Error exporting post.’) ); $exported++; } // build the redirect url $sendback = add_query_arg( array(‘exported’ => $exported, ‘ids’ => join(‘,’, $post_ids) ), $sendback ); break; default: return; } // … // 4. Redirect client wp_redirect($sendback); exit(); } The third step is to display a notice describing the result of the action by hooking into admin_notices and rendering a message if we have the ‘exported’ request parameter that wa…