Filters the array of themes allowed on the site.
$allowed_themesstring[]
$blog_idint
return (array) apply_filters( 'site_allowed_themes', $allowed_themes[ $blog_id ], $blog_id );
| Version | Description |
|---|---|
| 4.5.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/site_allowed_themes