Title: wp_register_ability_category_args
Published: February 24, 2026

---

# apply_filters( ‘wp_register_ability_category_args’, array<string, , string $slug )

## In this article

 * [Parameters](https://developer.wordpress.org/reference/hooks/wp_register_ability_category_args/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/hooks/wp_register_ability_category_args/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/hooks/wp_register_ability_category_args/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/hooks/wp_register_ability_category_args/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/hooks/wp_register_ability_category_args/?output_format=md#wp--skip-link--target)

Filters the ability category arguments before they are validated and used to instantiate
the ability category.

## 󠀁[Parameters](https://developer.wordpress.org/reference/hooks/wp_register_ability_category_args/?output_format=md#parameters)󠁿

mixed> $args { The arguments used to instantiate the ability category.
 @type string
$label The human-readable label for the ability category. @type string $description
A description of the ability category. @type array<string, mixed> $meta Optional.
Additional metadata for the ability category. }

`$slug`string

The slug of the ability category.

## 󠀁[Source](https://developer.wordpress.org/reference/hooks/wp_register_ability_category_args/?output_format=md#source)󠁿

    ```php
    $args = apply_filters( 'wp_register_ability_category_args', $args, $slug );
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-includes/abilities-api/class-wp-ability-categories-registry.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/6.9.4/src/wp-includes/abilities-api/class-wp-ability-categories-registry.php#L91)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/abilities-api/class-wp-ability-categories-registry.php#L91-L91)

## 󠀁[Related](https://developer.wordpress.org/reference/hooks/wp_register_ability_category_args/?output_format=md#related)󠁿

| Used by | Description | 
| [WP_Ability_Categories_Registry::register()](https://developer.wordpress.org/reference/classes/wp_ability_categories_registry/register/)`wp-includes/abilities-api/class-wp-ability-categories-registry.php` |

Registers a new ability category.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/hooks/wp_register_ability_category_args/?output_format=md#changelog)󠁿

| Version | Description | 
| [6.9.0](https://developer.wordpress.org/reference/since/6.9.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fhooks%2Fwp_register_ability_category_args%2F)
before being able to contribute a note or feedback.