WP_REST_Menu_Locations_Controller::__construct() – Menu Locations Constructor.

You appear to be a bot. Output may be restricted

Description

Menu Locations Constructor.

Usage

WP_REST_Menu_Locations_Controller::__construct();

Parameters

Returns

void

Source

File name: wordpress/wp-includes/rest-api/endpoints/class-wp-rest-menu-locations-controller.php


Lines:

1 to 5 of 5
  public function __construct() {
    $this->namespace = 'wp/v2';
    $this->rest_base = 'menu-locations';
  }
 

 View on GitHub View on Trac