Un motore di ricerca WordPress per sviluppatori e autori di temi



site_option_{$option} ›

Da4.7.0
Deprecaton/a
apply_filters( "site_option_{$option}", $value, $option, $network_id )
Parametri: (3)
  • (mixed) $value Value of network option.
    Richiesto:
  • (string) $option Option name.
    Richiesto:
  • (int) $network_id ID of the network.
    Richiesto:
Definito a:
Codex:

Filters the value of an existing network option.

The dynamic portion of the hook name, $option, refers to the option name.





Sorgenti

return apply_filters( "site_option_{$option}", $value, $option, $network_id );