wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



install_theme_overwrite_comparison › Filtr WordPress Hooks

Od5.5.0
Przestarzałyn/a
apply_filters( 'install_theme_overwrite_comparison', $table, $current_theme_data, $new_theme_data )
Parametry: (3)
  • (string) $table The output table with Name, Version, Author, RequiresWP, and RequiresPHP info.
    Wymagane: Tak
  • (WP_Theme) $current_theme_data Active theme data.
    Wymagane: Tak
  • (array) $new_theme_data Array with uploaded theme data.
    Wymagane: Tak
Zdefiniowane na:
Codex:

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





Źródło

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