File: wp-includes/abilities-api.php
-
Filters the full list of matched abilities after all per-item filtering is complete.
-
function_wp_get_abilities_match_meta()
Checks whether an ability’s meta array matches a set of required key/value conditions.
-
Filters whether an individual ability should be included in the result set.
-
functionwp_has_ability_category()
Checks if an ability category is registered.
-
functionwp_get_ability_category()
Retrieves a registered ability category.
-
functionwp_get_ability_categories()
Retrieves all registered ability categories.
-
functionwp_register_ability()
Registers a new ability using the Abilities API. It requires three steps:
-
functionwp_unregister_ability()
Unregisters an ability from the Abilities API.
-
functionwp_has_ability()
Checks if an ability is registered.
-
functionwp_get_ability()
Retrieves a registered ability.
-
functionwp_get_abilities()
Retrieves registered abilities, optionally filtered by the given arguments.
-
functionwp_register_ability_category()
Registers a new ability category.
-
functionwp_unregister_ability_category()
Unregisters an ability category.