wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



install_theme_overwrite_comparison › Hooks de Filtros WordPress

Desde5.5.0
Obsoleton/a
apply_filters( 'install_theme_overwrite_comparison', $table, $current_theme_data, $new_theme_data )
Parâmetros: (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
Definido em:
Codex:

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





Fonte

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