New and updated in 6.9.0
-
Unregisters an ability.
Used by 0 functions | Uses 4 functions | Source: wp-includes/abilities-api/class-wp-abilities-registry.php:190 -
Validates output data against the output schema.
-
Checks if an ability category is registered.
Used by 3 functions | Uses 0 functions | Source: wp-includes/abilities-api/class-wp-ability-categories-registry.php:165 -
methodWP_Ability::execute()
Executes the ability after input validation and running a permission check.
Used by 0 functions | Uses 11 functions | Source: wp-includes/abilities-api/class-wp-ability.php:598 -
Retrieves a registered ability category.
Used by 0 functions | Uses 4 functions | Source: wp-includes/abilities-api/class-wp-ability-categories-registry.php:181 -
Fires before an ability gets executed, after input validation and permissions check.
-
Fires immediately after an ability finished executing.
-
methodWP_Ability::__wakeup()
Wakeup magic method.
-
Retrieves a specific metadata item for the ability.
-
methodWP_Ability::__sleep()
Sleep magic method.
-
Normalizes the input for the ability, applying the default value from the input schema when needed.
-
Manages the registration and lookup of ability categories.
Used by 0 functions | Uses 0 functions | Source: wp-includes/abilities-api/class-wp-ability-categories-registry.php:20 -
Validates input data against the input schema.
-
Registers a new ability category.
Used by 0 functions | Uses 6 functions | Source: wp-includes/abilities-api/class-wp-ability-categories-registry.php:57 -
Invokes a callable, ensuring the input is passed through only if the input schema is defined.
-
Filters the ability category arguments before they are validated and used to instantiate the ability category.
Used by 1 function | Uses 0 functions | Source: wp-includes/abilities-api/class-wp-ability-categories-registry.php:91 -
Checks whether the ability has the necessary permissions.
-
Unregisters an ability category.
Used by 0 functions | Uses 4 functions | Source: wp-includes/abilities-api/class-wp-ability-categories-registry.php:121 -
methodWP_Ability::do_execute()
Executes the ability callback.
-
Retrieves the list of all registered ability categories.
Used by 0 functions | Uses 0 functions | Source: wp-includes/abilities-api/class-wp-ability-categories-registry.php:149 -
Retrieves the detailed description for the ability.
-
Retrieves the human-readable label for the ability category.
Used by 0 functions | Uses 0 functions | Source: wp-includes/abilities-api/class-wp-ability-category.php:169 -
Retrieves the ability category for the ability.
-
Retrieves the detailed description for the ability category.
Used by 0 functions | Uses 0 functions | Source: wp-includes/abilities-api/class-wp-ability-category.php:180 -
Retrieves the input schema for the ability.
-
Retrieves the metadata for the ability category.
Used by 0 functions | Uses 0 functions | Source: wp-includes/abilities-api/class-wp-ability-category.php:191 -
Retrieves the output schema for the ability.
-
Wakeup magic method.
Used by 0 functions | Uses 0 functions | Source: wp-includes/abilities-api/class-wp-ability-category.php:202 -
methodWP_Ability::get_meta()
Retrieves the metadata for the ability.
-
Sleep magic method.
Used by 0 functions | Uses 0 functions | Source: wp-includes/abilities-api/class-wp-ability-category.php:213