add_site_option ( $option, $value )
- (string) option Name of the option to add. Expected to not be SQL-escaped.
- (mixed) value Option value, can be anything. Expected to not be SQL-escaped.
Defined at:Change Log:
- (bool) True if the option was added, false otherwise.
- Introduced in WordPress: 2.8.0
- Deprecated in WordPress: —
Adds a new option for the current network.Existing options will not be updated. Note that prior to 3.3 this wasn't the case.