wp-includes/class-wp-block-templates-registry.php:207Checks if a template is registered.
$template_namestring|nullbool public function is_registered( $template_name ) { return isset( $template_name, $this->registered_templates[ $template_name ] ); }Introduced in 6.7.0. One change between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
$template_name retyped from string to string|null.verified against sourcesrc/wp-includes/class-wp-block-templates-registry.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.