wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



site_allowed_themes › Filtr WordPress Hooks

Od4.5.0
Przestarzałyn/a
apply_filters( 'site_allowed_themes', $allowed_themes[ $blog_id ], $blog_id )
Parametry: (2)
  • (string[]) $allowed_themes An array of theme stylesheet names.
    Wymagane: Tak
  • (int) $blog_id ID of the site. Defaults to current site.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the array of themes allowed on the site.





Źródło

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