wpseek.com
WordPress开发者和主题制作者的搜索引擎



wp_register_ability_category_args › WordPress过滤钩子

Since6.9.0
已弃用n/a
› apply_filters( 'wp_register_ability_category_args', $args, $slug )
参数: (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
定义在:
文档:

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





源码

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