Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/class-wp-theme.php | apply_filters | 1576 | /** * 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. * * @since 4.5.0 * * @param string[] $allowed_themes An array of theme stylesheet names. * @param int $blog_id ID of the site. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string[] | $allowed_themes | An array of theme stylesheet names. |
int | $blog_id | ID of the site. |