BP_Groups_Member::__get( string $key )

Magic getter.


Parameters Parameters

$key

(string) (Required) Key.


Top ↑

Return Return

(BP_Core_User|null)


Source Source

File: bp-groups/classes/class-bp-groups-member.php

	public function __get( $key ) {
		switch ( $key ) {
			case 'user' :
				return $this->get_user_object( $this->user_id );
		}
	}


Top ↑

Changelog Changelog

Changelog
Version Description
2.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.