add_blog_option( int $blog_id, string $option_name, mixed $option_value )

Add blog option.

Description

See also

Parameters

$blog_id

(Required) Blog ID to add for. Not used.

$option_name

(Required) Option name to add.

$option_value

(Required) Option value to add.

Return

(mixed)

Source

File: bp-core/bp-core-wpabstraction.php

		function add_blog_option( $blog_id, $option_name, $option_value ) {
			return add_option( $option_name, $option_value );
		}

Changelog

Changelog
Version Description
BuddyPress 1.2.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.