wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



network_allowed_themes › Les Filtres WordPress

Depuis4.5.0
Dépréciéen/a
apply_filters( 'network_allowed_themes', self::get_allowed_on_network()
Paramètres: (2)
  • (string[]) $allowed_themes An array of theme stylesheet names.
    Requis: Oui
  • (int) $blog_id ID of the site.
    Requis: Oui
Défini(e) dans:
Codex:

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.





Source

$network = (array) apply_filters( 'network_allowed_themes', self::get_allowed_on_network(), $blog_id );