WP_REST_Application_Passwords_Controller example

continue;
        }

        $controller->register_routes();
    }

    // Users.     $controller = new WP_REST_Users_Controller();
    $controller->register_routes();

    // Application Passwords     $controller = new WP_REST_Application_Passwords_Controller();
    $controller->register_routes();

    // Comments.     $controller = new WP_REST_Comments_Controller();
    $controller->register_routes();

    $search_handlers = array(
        new WP_REST_Post_Search_Handler(),
        new WP_REST_Term_Search_Handler(),
        new WP_REST_Post_Format_Search_Handler(),
    );

    
Home | Imprint | This part of the site doesn't use cookies.