A WordPress-centric search engine for devs and theme authors



add_site_option ›

Since4.7.0
Deprecatedn/a
do_action( 'add_site_option', $option, $value, $network_id )
Parameters: (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
Defined at:
Codex:

Fires after a network option has been successfully added.





Source

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