Checks if an ability category is registered.
Description
Do not use this method directly. Instead, use the wp_has_ability_category() function.
See also
Parameters
$slugstringrequired- The slug of the ability category.
Source
public function is_registered( string $slug ): bool {
return isset( $this->registered_categories[ $slug ] );
}
Changelog
| Version | Description |
|---|---|
| 6.9.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.