WP_REST_Pattern_Directory_Controller::__construct() – Constructs the controller.

You appear to be a bot. Output may be restricted

Description

Constructs the controller.

Usage

WP_REST_Pattern_Directory_Controller::__construct();

Parameters

Returns

void

Source

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

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

 View on GitHub View on Trac