bp_update_option( string $option_name, mixed $value )
Save an option.
Description Description
This is a wrapper for update_blog_option(), which in turn stores settings data (such as bp-pages) on the appropriate blog, given your current setup.
Parameters Parameters
- $option_name
-
(Required) The option key to be set.
- $value
-
(Required) The value to be set.
Return Return
(bool) True on success, false on failure.
Source Source
File: bp-core/bp-core-options.php
function bp_update_option( $option_name, $value ) { return update_blog_option( bp_get_root_blog_id(), $option_name, $value ); }
Changelog Changelog
Version | Description |
---|---|
1.5.0 | Introduced. |