wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren
wp_register_core_ability_categories › WordPress Function
Seit6.9.0
Veraltetn/v
› wp_register_core_ability_categories ( Keine Parameter )
| Definiert in: |
|
| Codex: | |
| Changelog: |
|
Registers the core ability categories.
Quellcode
function wp_register_core_ability_categories(): void {
wp_register_ability_category(
'site',
array(
'label' => __( 'Site' ),
'description' => __( 'Abilities that retrieve or modify site information and settings.' ),
)
);
wp_register_ability_category(
'user',
array(
'label' => __( 'User' ),
'description' => __( 'Abilities that retrieve or modify user information and settings.' ),
)
);
wp_register_ability_category(
'uncategorized',
array(
'label' => __( 'Uncategorized' ),
'description' => __( 'Abilities that have not been assigned to a specific category.' ),
)
);
}