Used By
Used By | Description |
---|---|
wp-includes/class-wp-theme.php: WP_Theme::get_allowed() | Returns array of stylesheet names of themes allowed on the site or network. |
Filters the array of themes allowed on the network.
Site is provided as context so that a list of network allowed themes can be filtered further.
(string[]) An array of theme stylesheet names.
(int) ID of the site.
Version | Description |
---|---|
4.5.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/network_allowed_themes