wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php


Lines:

1 to 20 of 20
<?php

/**
 * Block Pattern Directory REST API: WP_REST_Pattern_Directory_Controller class
 *
 * @package WordPress
 * @subpackage REST_API
 * @since 5.8.0
 */

/* class WP_REST_Pattern_Directory_Controller */
/* function WP_REST_Pattern_Directory_Controller::__construct() – Constructs the controller. */
/* function WP_REST_Pattern_Directory_Controller::register_routes() – Registers the necessary REST API routes. */
/* function WP_REST_Pattern_Directory_Controller::get_items_permissions_check() – Checks whether a given request has permission to view the local pattern directory. */
/* function WP_REST_Pattern_Directory_Controller::get_items() – Search and retrieve block patterns metadata */
/* function WP_REST_Pattern_Directory_Controller::prepare_item_for_response() – Prepare a raw block pattern before it gets output in a REST API response. */
/* function WP_REST_Pattern_Directory_Controller::get_item_schema() – Retrieves the block pattern’s schema, conforming to JSON Schema. */
/* function WP_REST_Pattern_Directory_Controller::get_collection_params() – Retrieves the search parameters for the block pattern’s collection. */
/* function WP_REST_Pattern_Directory_Controller::get_transient_key() – Filter collection parameters for the block pattern directory controller. */
 

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      API Letters: ,,,,