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



wp_prepare_themes_for_js › WordPress Filter Hooks

Since3.8.0
Deprecatedn/a
apply_filters( 'wp_prepare_themes_for_js', $prepared_themes )
Parameters:
  • (array) $prepared_themes Array of theme data.
    Required: Yes
Defined at:
Codex:

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

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





Source

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