wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



network_allowed_themes › WordPress Filter Hooks

Da4.5.0
Deprecaton/a
› apply_filters( 'network_allowed_themes', self::get_allowed_on_network()
Parametri: (2)
  • () allowed_themes An array of theme stylesheet names.
    Richiesto: Sì
  • () blog_id ID of the site.
    Richiesto: Sì
Definito a:
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.




Sorgenti

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