admin_post

admin_post

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

See hook in core

Displaying hooks found in version: wordpress-6.7.2

do_action('admin_post') is found 1 times:

  • /wp-admin/admin-post.php line 70
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
         * Fires on an authenticated admin post request where no action is supplied.
         *
         * @since 2.6.0
         */
        do_action( 'admin_post' );
    } else {
        // If no action is registered, return a Bad Request response.
        if ( ! has_action( "admin_post_{$action}" ) ) {
            wp_die( '', 400 );
        }