We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a5f672 commit 8a6ad54Copy full SHA for 8a6ad54
src/wp-includes/abilities-api.php
@@ -589,7 +589,7 @@ function wp_get_ability_category( string $slug ): ?WP_Ability_Category {
589
* @see wp_get_ability_category()
590
*
591
* @return WP_Ability_Category[] An array of registered ability category instances. Returns an empty array
592
- * if no ability categories are registered or if the registry is unavailable.
+ * if no ability categories are registered.
593
*/
594
function wp_get_ability_categories(): array {
595
$registry = WP_Ability_Categories_Registry::get_instance();
0 commit comments