HTTP/2 200
server: nginx
date: Sat, 19 Jul 2025 09:33:12 GMT
content-type: text/html; charset=UTF-8
vary: Accept-Encoding
x-olaf: ⛄
link:
; rel="https://api.w.org/"
link:
; rel="alternate"; title="JSON"; type="application/json"
link: ; rel=shortlink
x-frame-options: SAMEORIGIN
content-encoding: gzip
alt-svc: h3=":443"; ma=86400
x-nc: MISS ord 1
WP_REST_Block_Types_Controller::__construct() – Method | Developer.WordPress.org
WordPress Developer Resources
WP_REST_Block_Types_Controller::__construct()
WP_REST_Block_Types_Controller::__construct()
public function __construct() {
$this->namespace = 'wp/v2';
$this->rest_base = 'block-types';
$this->block_registry = WP_Block_Type_Registry::get_instance();
$this->style_registry = WP_Block_Styles_Registry::get_instance();
}
View all references View on Trac View on GitHub
Version | Description |
---|
5.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.