WordPress at a glance
filter is not described

allowed_themes filter-hook . WP MU

Filters the array of themes allowed on the network.

Usage

add_filter( 'allowed_themes', 'filter_function_name_374' );
function filter_function_name_374( $allowed_themes ){
	// filter...

	return $allowed_themes;
}
$allowed_themes(array)
An array of theme stylesheet names.

Notes

  • Since MU (3.0.0)

Where the hook is called

WP_Theme::get_allowed_on_network()
wp-includes/class-wp-theme.php 1301
$allowed_themes = apply_filters( 'allowed_themes', $allowed_themes );

Where the hook is used (in WP core)

Does not used.