wpseek.com
WordPress开发者和主题制作者的搜索引擎



install_theme_overwrite_comparison › WordPress过滤钩子

Since5.5.0
已弃用n/a
apply_filters( 'install_theme_overwrite_comparison', $table, $current_theme_data, $new_theme_data )
参数: (3)
  • (string) $table The output table with Name, Version, Author, RequiresWP, and RequiresPHP info.
    Required: Yes
  • (WP_Theme) $current_theme_data Active theme data.
    Required: Yes
  • (array) $new_theme_data Array with uploaded theme data.
    Required: Yes
定义在:
文档:

Filters the compare table output for overwriting a theme package on upload.





源码

echo apply_filters( 'install_theme_overwrite_comparison', $table, $current_theme_data, $new_theme_data );