WP_REST_Global_Styles_Controller::__construct() – Constructor.

You appear to be a bot. Output may be restricted

Description

Constructor.

Usage

WP_REST_Global_Styles_Controller::__construct();

Parameters

Returns

void

Source

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

1 to 5 of 5
  public function __construct() {
    $this->namespace = 'wp/v2';
    $this->rest_base = 'global-styles';
    $this->post_type = 'wp_global_styles';
  }
 

 View on GitHub View on Trac