wpseek.com
A WordPress-centric search engine for devs and theme authors



site_allowed_themes › WordPress Filter Hooks

Since4.5.0
Deprecatedn/a
apply_filters( 'site_allowed_themes', $allowed_themes[ $blog_id ], $blog_id )
Parameters: (2)
  • (string[]) $allowed_themes An array of theme stylesheet names.
    Required: Yes
  • (int) $blog_id ID of the site. Defaults to current site.
    Required: Yes
Defined at:
Codex:

Filters the array of themes allowed on the site.





Source

return (array) apply_filters( 'site_allowed_themes', $allowed_themes[ $blog_id ], $blog_id );