Used By
Used By | Description |
---|---|
wp-includes/class-wp-theme.php: WP_Theme::get_allowed_on_site() | Returns array of stylesheet names of themes allowed on the site. |
Filters the array of themes allowed on the site.
(string[]) An array of theme stylesheet names.
(int) ID of the site. Defaults to current site.
Version | Description |
---|---|
4.5.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/site_allowed_themes