Uma área de pesquisa sobre o WordPress para devs e autores do tema



update_site_option ›

Desde4.7.0
Obsoleton/a
do_action( 'update_site_option', $option, $value, $old_value, $network_id )
Parâmetros: (4)
  • (string) $option Name of the network option.
    Required: Yes
  • (mixed) $value Current value of the network option.
    Required: Yes
  • (mixed) $old_value Old value of the network option.
    Required: Yes
  • (int) $network_id ID of the network.
    Required: Yes
Definido em:
Codex:

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





Fonte

do_action( 'update_site_option', $option, $value, $old_value, $network_id );