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

---

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

 * hook[wp_get_abilities_result](https://developer.wordpress.org/reference/hooks/wp_get_abilities_result/)
 * Filters the full list of matched abilities after all per-item filtering is complete.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/wp_get_abilities_result/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/wp_get_abilities_result/#uses)
   | Source: [wp-includes/abilities-api.php:572](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/abilities-api.php#L572-L572)
 * function[_wp_get_abilities_match_meta()](https://developer.wordpress.org/reference/functions/_wp_get_abilities_match_meta/)
 * Checks whether an ability’s meta array matches a set of required key/value conditions.
 * Used by [2 functions](https://developer.wordpress.org/reference/functions/_wp_get_abilities_match_meta/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/_wp_get_abilities_match_meta/#uses)
   | Source: [wp-includes/abilities-api.php:588](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/abilities-api.php#L588-L604)
 * hook[wp_get_abilities_item_include](https://developer.wordpress.org/reference/hooks/wp_get_abilities_item_include/)
 * Filters whether an individual ability should be included in the result set.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/wp_get_abilities_item_include/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/wp_get_abilities_item_include/#uses)
   | Source: [wp-includes/abilities-api.php:549](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/abilities-api.php#L549-L549)
 * function[wp_has_ability_category()](https://developer.wordpress.org/reference/functions/wp_has_ability_category/)
 * Checks if an ability category is registered.
 * Used by [2 functions](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:722](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/abilities-api.php#L722-L729)
 * 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:754](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/abilities-api.php#L754-L761)
 * 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:785](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/abilities-api.php#L785-L792)
 * 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:290](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/abilities-api.php#L290-L311)
 * 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:336](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/abilities-api.php#L336-L343)
 * function[wp_has_ability()](https://developer.wordpress.org/reference/functions/wp_has_ability/)
 * Checks if an ability is registered.
 * Used by [4 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:369](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/abilities-api.php#L369-L376)
 * function[wp_get_ability()](https://developer.wordpress.org/reference/functions/wp_get_ability/)
 * Retrieves a registered ability.
 * Used by [6 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:401](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/abilities-api.php#L401-L408)
 * function[wp_get_abilities()](https://developer.wordpress.org/reference/functions/wp_get_abilities/)
 * Retrieves registered abilities, optionally filtered by the given arguments.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/wp_get_abilities/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/functions/wp_get_abilities/#uses)
   | Source: [wp-includes/abilities-api.php:498](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/abilities-api.php#L498-L573)
 * 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:645](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/abilities-api.php#L645-L666)
 * 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:690](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/abilities-api.php#L690-L697)