Changeset 7893
- Timestamp:
- 02/16/2014 09:25:05 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-options.php
r7819 r7893 213 213 214 214 return apply_filters( 'bp_get_option', $value ); 215 } 216 217 /** 218 * Add an option. 219 * 220 * This is a wrapper for {@link add_blog_option()}, which in turn stores 221 * settings data on the appropriate blog, given your current setup. 222 * 223 * @since BuddyPress (2.0.0) 224 * 225 * @param string $option_name The option key to be set. 226 * @param mixed $value The value to be set. 227 */ 228 function bp_add_option( $option_name, $value ) { 229 return add_blog_option( bp_get_root_blog_id(), $option_name, $value ); 215 230 } 216 231
Note: See TracChangeset
for help on using the changeset viewer.