post_action_{$action}

post_action_{$action}

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.4.3

do_action('post_action_{$action}') is found 1 times:

  • /wp-admin/post.php line 363
    		 * @since 4.6.0
    		 *
    		 * @param int $post_id Post ID sent with the request.
    		 */
    		do_action( "post_action_{$action}", $post_id );
    
    		wp_redirect( admin_url( 'edit.php' ) );
    		exit;
    } // End switch.
    
    require_once ABSPATH . 'wp-admin/admin-footer.php';