wpseek.com
WordPress开发者和主题制作者的搜索引擎
wp_get_ability_category › WordPress Function
Since6.9.0
已弃用n/a
› wp_get_ability_category ( $slug )
| 参数: |
|
| 查看: |
|
| 返回: |
|
| 定义在: |
|
| 文档: |
Retrieves a registered ability category.
Returns the ability category instance for inspection or use. The instance provides access to the ability category's configuration and metadata. Example: // Prints information about a registered ability category. $ability_category = wp_get_ability_category( 'content-management' ); if ( $ability_category ) { echo $ability_category->get_label() . ': ' . $ability_category->get_description(); }