Un motore di ricerca WordPress per sviluppatori e autori di temi



pre_add_site_option_{$option} ›

Da4.7.0
Deprecaton/a
apply_filters( "pre_add_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 a specific network option before it is added.

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





Sorgenti

$value = apply_filters( "pre_add_site_option_{$option}", $value, $option, $network_id );