369* The dynamic portion of the hook name,`$action`, refers to the custom post action.370*371* @since 4.6.0372*373* @param int$post_id Post ID sent with the request.374*/375do_action("post_action_{$action}",$post_id);376377wp_redirect(admin_url('edit.php'));378exit;379}// End switch.380381require_onceABSPATH.'wp-admin/admin-footer.php';
History
Introduced in 4.6.0. Unchanged from 6.7.7 through 7.1.0.