Filters the array of themes allowed on the site.
Parameters
$allowed_themes
string[]- An array of theme stylesheet names.
$blog_id
int- ID of the site. Defaults to current site.
Source
return (array) apply_filters( 'site_allowed_themes', $allowed_themes[ $blog_id ], $blog_id );
Changelog
Version | Description |
---|---|
4.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.