WP_Block_Templates_Registry::get_all_registered(): WP_Block_Template[]

In this article

Retrieves all registered templates.

Return

WP_Block_Template[] Associative array of $template_name => $template pairs.

Source

public function get_all_registered() {
	return $this->registered_templates;
}

Changelog

VersionDescription
6.7.0Introduced.

User Contributed Notes

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