Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions src/wp-includes/abilities-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,11 +225,11 @@
* @see wp_register_ability_category()
* @see wp_unregister_ability()
*
* @param string $name The name of the ability. Must be a namespaced string containing
* a prefix, e.g., `my-plugin/my-ability`. Can only contain lowercase
* alphanumeric characters, dashes, and forward slashes.
* @param array<string, mixed> $args {
* An associative array of arguments for configuring the ability.
* @param string $name The name of the ability. Must be a namespaced string containing
* a prefix, e.g., `my-plugin/my-ability`. Can only contain lowercase
* alphanumeric characters, dashes, and forward slashes.
* @param array $args {
* An associative array of arguments for configuring the ability.
*
* @type string $label Required. The human-readable label for the ability.
* @type string $description Required. A detailed description of what the ability does
Expand Down Expand Up @@ -453,10 +453,10 @@ function wp_get_abilities(): array {
* @see wp_register_ability()
* @see wp_unregister_ability_category()
*
* @param string $slug The unique slug for the ability category. Must contain only lowercase
* alphanumeric characters and dashes (e.g., 'data-export').
* @param array<string, mixed> $args {
* An associative array of arguments for the ability category.
* @param string $slug The unique slug for the ability category. Must contain only lowercase
* alphanumeric characters and dashes (e.g., 'data-export').
* @param array $args {
* An associative array of arguments for the ability category.
*
* @type string $label Required. The human-readable label for the ability category.
* @type string $description Required. A description of what abilities in this category do.
Expand Down
Loading