WP_REST_Block_Patterns_Controller::__construct() – Constructs the controller.

You appear to be a bot. Output may be restricted

Description

Constructs the controller.

Usage

WP_REST_Block_Patterns_Controller::__construct();

Parameters

Returns

void

Source

File name: wordpress/wp-includes/rest-api/endpoints/class-wp-rest-block-patterns-controller.php
Lines:

1 to 4 of 4
  public function __construct() {
    $this->namespace = 'wp/v2';
    $this->rest_base = 'block-patterns/patterns';
  }
 

 View on GitHub View on Trac