Title: wp-includes/abilities-api.php | Developer.WordPress.org

---

# File: wp-includes/abilities-api.php

 * function[wp_has_ability_category()](https://developer.wordpress.org/reference/functions/wp_has_ability_category/)
 * Checks if an ability category is registered.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/wp_has_ability_category/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/wp_has_ability_category/#uses)
   | Source: [wp-includes/abilities-api.php:544](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/abilities-api.php#L544-L551)
 * function[wp_get_ability_category()](https://developer.wordpress.org/reference/functions/wp_get_ability_category/)
 * Retrieves a registered ability category.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/wp_get_ability_category/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/wp_get_ability_category/#uses)
   | Source: [wp-includes/abilities-api.php:576](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/abilities-api.php#L576-L583)
 * function[wp_get_ability_categories()](https://developer.wordpress.org/reference/functions/wp_get_ability_categories/)
 * Retrieves all registered ability categories.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/wp_get_ability_categories/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/wp_get_ability_categories/#uses)
   | Source: [wp-includes/abilities-api.php:607](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/abilities-api.php#L607-L614)
 * function[wp_register_ability()](https://developer.wordpress.org/reference/functions/wp_register_ability/)
 * Registers a new ability using the Abilities API. It requires three steps:
 * Used by [1 function](https://developer.wordpress.org/reference/functions/wp_register_ability/#used-by)
   | Uses [5 functions](https://developer.wordpress.org/reference/functions/wp_register_ability/#uses)
   | Source: [wp-includes/abilities-api.php:278](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/abilities-api.php#L278-L299)
 * function[wp_unregister_ability()](https://developer.wordpress.org/reference/functions/wp_unregister_ability/)
 * Unregisters an ability from the Abilities API.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/wp_unregister_ability/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/wp_unregister_ability/#uses)
   | Source: [wp-includes/abilities-api.php:324](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/abilities-api.php#L324-L331)
 * function[wp_has_ability()](https://developer.wordpress.org/reference/functions/wp_has_ability/)
 * Checks if an ability is registered.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/wp_has_ability/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/wp_has_ability/#uses)
   | Source: [wp-includes/abilities-api.php:357](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/abilities-api.php#L357-L364)
 * function[wp_get_ability()](https://developer.wordpress.org/reference/functions/wp_get_ability/)
 * Retrieves a registered ability.
 * Used by [3 functions](https://developer.wordpress.org/reference/functions/wp_get_ability/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/wp_get_ability/#uses)
   | Source: [wp-includes/abilities-api.php:389](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/abilities-api.php#L389-L396)
 * function[wp_get_abilities()](https://developer.wordpress.org/reference/functions/wp_get_abilities/)
 * Retrieves all registered abilities.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/wp_get_abilities/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/wp_get_abilities/#uses)
   | Source: [wp-includes/abilities-api.php:419](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/abilities-api.php#L419-L426)
 * function[wp_register_ability_category()](https://developer.wordpress.org/reference/functions/wp_register_ability_category/)
 * Registers a new ability category.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/wp_register_ability_category/#used-by)
   | Uses [5 functions](https://developer.wordpress.org/reference/functions/wp_register_ability_category/#uses)
   | Source: [wp-includes/abilities-api.php:467](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/abilities-api.php#L467-L488)
 * function[wp_unregister_ability_category()](https://developer.wordpress.org/reference/functions/wp_unregister_ability_category/)
 * Unregisters an ability category.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/wp_unregister_ability_category/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/wp_unregister_ability_category/#uses)
   | Source: [wp-includes/abilities-api.php:512](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/abilities-api.php#L512-L519)