BP_Theme_Compat::__set( string $property, mixed $value )

Set a theme’s property.

Description

Parameters

$property

(Required) Property name.

$value

(Required) Property value.

Return

(bool) True on success, false on failure.

Source

File: bp-core/classes/class-bp-theme-compat.php

103
104
105
public function __set( $property, $value ) {
    return $this->_data[$property] = $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.