wpseek.com
A WordPress-centric search engine for devs and theme authors



add_site_option_{$option} › WordPress Action Hooks

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

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





Source

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