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