W3cubDocs

/WordPress

apply_filters( 'allowed_themes', string[] $allowed_themes )

Filters the array of themes allowed on the network.

Parameters

$allowed_themes

(string[]) An array of theme stylesheet names.

Source

File: wp-includes/class-wp-theme.php

View on Trac

Changelog

Version Description
MU (3.0.0) Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/allowed_themes