Un motore di ricerca WordPress per sviluppatori e autori di temi



site_allowed_themes ›

Da4.5.0
Deprecaton/a
apply_filters( 'site_allowed_themes', $allowed_themes[ $blog_id ], $blog_id )
Parametri: (2)
  • (string[]) $allowed_themes An array of theme stylesheet names.
    Richiesto:
  • (int) $blog_id ID of the site. Defaults to current site.
    Richiesto:
Definito a:
Codex:

Filters the array of themes allowed on the site.





Sorgenti

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