wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_register_ability_category_args › WordPress Filter Hooks

Since6.9.0
Deprecatedn/a
apply_filters( 'wp_register_ability_category_args', $args, $slug )
Parameters: (2)
  • () 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. }
    Required: Yes
  • () slug The slug of the ability category.
    Required: Yes
Defined at:
Codex:

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





Source

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