On this page
apply_filters( 'allowed_themes', string[] $allowed_themes )
Filters the array of themes allowed on the network.
Parameters
$allowed_themesstring[]-
An array of theme stylesheet names.
Source
File: wp-includes/class-wp-theme.php. View all references
$allowed_themes = apply_filters( 'allowed_themes', $allowed_themes );
Related
Used By
| Used By | Description |
|---|---|
| WP_Theme::get_allowed_on_network() wp-includes/class-wp-theme.php | Returns array of stylesheet names of themes allowed on the network. |
Changelog
| Version | Description |
|---|---|
| MU (3.0.0) | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/allowed_themes