Un motore di ricerca WordPress per sviluppatori e autori di temi



pre_update_site_option_{$option} ›

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

Filters a specific network option before its value is updated.

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





Sorgenti

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