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



add_site_option_{$option} ›

Desde4.7.0
Obsoleton/a
do_action( "add_site_option_{$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 specific network option has been successfully added.

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





Fonte

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