wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes
wp_maybe_grant_install_languages_cap › WordPress Function
Depuis4.9.0
Dépréciéen/a
› wp_maybe_grant_install_languages_cap ( $allcaps )
Paramètres: |
|
Retourne: |
|
Défini(e) dans: |
|
Codex: |
Filters the user capabilities to grant the 'install_languages' capability as necessary.
A user must have at least one out of the 'update_core', 'install_plugins', and 'install_themes' capabilities to qualify for 'install_languages'.