wp_prepare_themes_for_js
wp_prepare_themes_for_js ( $themes = null )
Parameters:- (WP_Theme[]) themes Optional. Array of theme objects to prepare. Defaults to all allowed themes.
Returns:- (array) An associative array of theme data, sorted by name.
Defined at: - Introduced in WordPress: 3.8.0
- Deprecated in WordPress: —
Description
Prepares themes for JavaScript.