A WordPress-centric search engine for devs and theme authors



install_theme_overwrite_comparison ›

Since5.5.0
Deprecatedn/a
apply_filters( 'install_theme_overwrite_comparison', $table, $current_theme_data, $new_theme_data )
Parameters: (3)
  • (string) $table The output table with Name, Version, Author, RequiresWP, and RequiresPHP info.
    Required: Yes
  • (array) $current_theme_data Array with current theme data.
    Required: Yes
  • (array) $new_theme_data Array with uploaded theme data.
    Required: Yes
Defined at:
Codex:

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





Source

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