BP_Activity_Feed::__get( string $key )

Magic method for getting a certain data variable.

Description

Parameters

$key

(string) (Required) Property to get.

Return

(mixed) Data in variable if available or null.

Source

File: bp-activity/classes/class-bp-activity-feed.php

	public function __get( $key ) { return isset( $this->data[$key] ) ? $this->data[$key] : null; }

Changelog

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