wpseek.com
WordPress开发者和主题制作者的搜索引擎
wp_maybe_grant_install_languages_cap › WordPress Function
Since4.9.0
已弃用n/a
› wp_maybe_grant_install_languages_cap ( $allcaps )
参数: |
|
返回: |
|
定义在: |
|
文档: |
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'.