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