Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/class-wp-theme.php | apply_filters | 1629 | /** * Filters the array of themes allowed on the site. * * @since 4.5.0 * * @param string[] $allowed_themes An array of theme stylesheet names. * @param int $blog_id ID of the site. Defaults to current site. */ |
wp-includes/class-wp-theme.php | apply_filters | 1680 | /** * Filters the array of themes allowed on the site. * * @since 4.5.0 * * @param string[] $allowed_themes An array of theme stylesheet names. * @param int $blog_id ID of the site. Defaults to current site. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string[] | $allowed_themes | An array of theme stylesheet names. |
int | $blog_id | ID of the site. Defaults to current site. |
string[] | $allowed_themes | An array of theme stylesheet names. |
int | $blog_id | ID of the site. Defaults to current site. |