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_3788' );
function filter_function_name_3788( $allowed_themes ){
	// filter...

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

Notes

  • Since MU (3.0.0)

Where the hook is called

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

Where the hook is used (in WP core)

Использование не найдено.