357* The dynamic portion of the hook name,`$action`, refers to the custom post action.358*359* @since 4.6.0360*361* @param int$post_id Post ID sent with the request.362*/363do_action("post_action_{$action}",$post_id);364365wp_redirect(admin_url('edit.php'));366exit;367}// End switch.368369require_onceABSPATH.'wp-admin/admin-footer.php';
History
Introduced in 4.6.0. Unchanged from 6.7.7 through 7.1.0.