BuddyPress::__get( string $key )
Magic method for getting BuddyPress variables.
Description
Parameters
- $key
-
(Required) Key to return the value for.
Return
(mixed)
Source
File: class-buddypress.php
202 | public function __get( $key ) { return isset( $this ->data[ $key ] ) ? $this ->data[ $key ] : null; } |
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.