BuddyPress::__set( string $key, mixed $value )

Magic method for setting BuddyPress variables.

Description

Parameters

$key

(Required) Key to set a value for.

$value

(Required) Value to set.

Source

File: class-buddypress.php

	public function __set( $key, $value ) { $this->data[$key] = $value; }

Changelog

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