wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes
wp_unregister_ability › WordPress Function
Depuis6.9.0
Dépréciéen/a
› wp_unregister_ability ( $name )
| Paramètres: |
|
| Voir: |
|
| Retourne: |
|
| Défini(e) dans: |
|
| Codex: |
Unregisters an ability from the Abilities API.
Removes a previously registered ability from the global registry. Use this to disable abilities provided by other plugins or when an ability is no longer needed. Can be called at any time after the ability has been registered. Example: if ( wp_has_ability( 'other-plugin/some-ability' ) ) { wp_unregister_ability( 'other-plugin/some-ability' ); }Fonctions en relation: wp_register_ability, wp_unregister_ability_category, wp_register_ability_category, wp_register_core_abilities, wp_unregister_icon