wp_prepare_themes_for_js

Advertisement

Summery Summery

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

Syntax Syntax

apply_filters( 'wp_prepare_themes_for_js', array $prepared_themes )

Description Description

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

Parameters Parameters

$prepared_themes

(array) Array of theme data.

Source Source

File: wp-admin/includes/theme.php

Advertisement

Changelog Changelog

Changelog
Version Description
3.8.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.