
使用WP_Query的基础知识 + 代码示例
apply_filters( 'install_theme_overwrite_comparison', $table, $current_theme_data, $new_theme_data )
install_theme_overwrite_comparison: 这个过滤器允许你修改在检查一个新的主题安装是否应该覆盖现有主题时使用的比较。
过滤比较表输出,以便在上载时覆盖主题包。
echo apply_filters( 'install_theme_overwrite_comparison', $table, $current_theme_data, $new_theme_data );