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



add_site_option ›

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

Fires after a network option has been successfully added.





Fonte

do_action( 'add_site_option', $option, $value, $network_id );