Checks if a pattern category is registered.
Parameters
$category_name
stringrequired- Pattern category name including namespace.
Source
public function is_registered( $category_name ) {
return isset( $this->registered_categories[ $category_name ] );
}
Changelog
Version | Description |
---|---|
5.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.