Un motore di ricerca WordPress per sviluppatori e autori di temi



update_site_option_{$option} ›

Da4.7.0
Deprecaton/a
do_action( "update_site_option_{$option}", $option, $value, $old_value, $network_id )
Parametri: (4)
  • (string) $option Name of the network option.
    Richiesto:
  • (mixed) $value Current value of the network option.
    Richiesto:
  • (mixed) $old_value Old value of the network option.
    Richiesto:
  • (int) $network_id ID of the network.
    Richiesto:
Definito a:
Codex:

Fires after the value of a specific network option has been successfully updated.

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





Sorgenti

do_action( "update_site_option_{$option}", $option, $value, $old_value, $network_id );