wp_prepare_themes_for_js

SummerySummery

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

Syntax

apply_filters( 'wp_prepare_themes_for_js', array $prepared_themes )

DescriptionDescription

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

ParametersParameters

$prepared_themes

(array) Array of theme data.

SourceSource

File: wp-admin/includes/theme.php

ChangelogChangelog

Changelog
Version Description
3.8.0 Introduced.
Scroll to Top