过滤添加主题屏幕上显示的选项卡。
原型
apply_filters( 'install_themes_tabs', array $tabs )
描述
此过滤器仅用于向后兼容,用于抑制上载选项卡。
参数
$tabs
(array)
“添加主题”屏幕上显示的选项卡。默认为“上传”。
源文件
路径:wp-admin/theme-install.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/install_themes_tabs/