WP_REST_Navigation_Fallback_Controller::__construct
Constructs the controller.
Method of the class: WP_REST_Navigation_Fallback_Controller{}
No Hooks.
Returns
null. Nothing (null).
Usage
$WP_REST_Navigation_Fallback_Controller = new WP_REST_Navigation_Fallback_Controller(); $WP_REST_Navigation_Fallback_Controller->__construct();
Changelog
| Since 6.3.0 | Introduced. |
WP_REST_Navigation_Fallback_Controller::__construct() WP REST Navigation Fallback Controller:: construct code WP 6.9
public function __construct() {
$this->namespace = 'wp-block-editor/v1';
$this->rest_base = 'navigation-fallback';
$this->post_type = 'wp_navigation';
}