wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



network_allowed_themes › Hooks de Filtros WordPress

Desde4.5.0
Obsoleton/a
apply_filters( 'network_allowed_themes', self::get_allowed_on_network()
Parâmetros: (2)
  • (string[]) $allowed_themes An array of theme stylesheet names.
    Required: Yes
  • (int) $blog_id ID of the site.
    Required: Yes
Definido em:
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.





Fonte

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