WP_REST_Post_Statuses_Controller::__construct()

In this article

Constructor.

Source

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

Changelog

VersionDescription
4.7.0Introduced.

User Contributed Notes

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