apply_filters( ‘wp_prepare_themes_for_js’, array $prepared_themes )

In this article

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

Description

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

Parameters

$prepared_themesarray
Array of theme data.

Source

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

Changelog

VersionDescription
3.8.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.