Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_prepare_themes_for_js ›

Da3.8.0
Deprecaton/a
apply_filters( 'wp_prepare_themes_for_js', $prepared_themes )
Parametri:
  • (array) $prepared_themes Array of themes.
    Richiesto:
Definito a:
Codex:

Filters the themes prepared for JavaScript, for themes.php.

Could be useful for changing the order, which is by name by default.





Sorgenti

$prepared_themes = apply_filters( 'wp_prepare_themes_for_js', $prepared_themes );