wpseek.com
WordPress开发者和主题制作者的搜索引擎
wp_unregister_ability_category › WordPress Function
Since6.9.0
已弃用n/a
› wp_unregister_ability_category ( $slug )
| 参数: |
|
| 查看: |
|
| 返回: |
|
| 定义在: |
|
| 文档: |
Unregisters an ability category.
Removes a previously registered ability category from the global registry. Use this to disable ability categories that are no longer needed. Can be called at any time after the ability category has been registered. Example: if ( wp_has_ability_category( 'deprecated-category' ) ) { wp_unregister_ability_category( 'deprecated-category' ); }