wpseek.com
A WordPress-centric search engine for devs and theme authors



install_theme_overwrite_comparison › WordPress Filter Hooks

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
  • (WP_Theme) $current_theme_data Active 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 );