BP_Groups_Group::__isset( string $key )
Magic issetter.
Description
Used to maintain backward compatibility for properties that are now accessible only via magic method.
Parameters
- $key
-
(Required) Property name.
Return
(bool)
Source
File: bp-groups/classes/class-bp-groups-group.php
public function __isset( $key ) { switch ( $key ) { case 'admins' : case 'is_invited' : case 'is_member' : case 'is_user_member' : case 'is_pending' : case 'last_activity' : case 'mods' : case 'total_member_count' : case 'user_has_access' : case 'is_visible' : case 'forum_id' : return true; default : return isset( $this->{$key} ); } }
Changelog
Version | Description |
---|---|
BuddyPress 2.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.