Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wp_prepare_themes_for_js ›

Seit3.8.0
Veraltetn/v
apply_filters( 'wp_prepare_themes_for_js', $prepared_themes )
Parameter:
  • (array) $prepared_themes Array of themes.
    Erforderlich: Ja
Definiert in:
Codex:

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

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





Quellcode

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