wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes
wp_unregister_ability_category › WordPress Function
Depuis6.9.0
Dépréciéen/a
› wp_unregister_ability_category ( $slug )
| Paramètres: |
|
| Voir: |
|
| Retourne: |
|
| Défini(e) dans: |
|
| Codex: |
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' ); }