get_blog_option( int $blog_id, string $option_name, bool $default = false )

Retrieve blog option.

Description

See also

Parameters

$blog_id

(int) (Required) Blog ID to fetch for. Not used.

$option_name

(string) (Required) Option name to fetch.

$default

(bool) (Optional) Whether or not default.

Default value: false

Return

(mixed)

Source

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

		function get_blog_option( $blog_id, $option_name, $default = false ) {
			return get_option( $option_name, $default );
		}

Changelog

Changelog
Version Description
BuddyPress 1.0.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.