admin_post_nopriv

admin_post_nopriv

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

See hook in core

Displaying hooks found in version: wordpress-6.7.2

do_action('admin_post_nopriv') is found 1 times:

  • /wp-admin/admin-post.php line 46
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
         * Fires on a non-authenticated admin post request where no action is supplied.
         *
         * @since 2.6.0
         */
        do_action( 'admin_post_nopriv' );
    } else {
        // If no action is registered, return a Bad Request response.
        if ( ! has_action( "admin_post_nopriv_{$action}" ) ) {
            wp_die( '', 400 );
        }