admin_post_nopriv

admin_post_nopriv

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

See hook in core

Displaying hooks found in version: wordpress-6.7.1

do_action('admin_post_nopriv') is found 1 times:

  • /wp-admin/admin-post.php line 46
    		 * 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 );
    		}