wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.
wp_register_core_ability_categories › WordPress Function
Od6.9.0
Przestarzałyn/a
› wp_register_core_ability_categories ( Brak parametrów )
| Zdefiniowane na: |
|
| Codex: | |
| Dziennik zmian: |
|
Registers the core ability categories.
Źródło
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(
'content',
array(
'label' => __( 'Content' ),
'description' => __( 'Abilities that retrieve or manage posts and other content.' ),
)
);
}