WP_REST_Pattern_Directory_Controller::__construct()

In this article

Constructs the controller.

Source

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

Changelog

VersionDescription
5.8.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.