BP_Theme_Compat::__get( string $property )

Get a theme’s property.


Description Description


Parameters Parameters

$property

(Required) Property name.


Top ↑

Return Return

(mixed) The value of the property if it exists, otherwise an empty string.


Top ↑

Source Source

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

	public function __get( $property ) {
		return array_key_exists( $property, $this->_data ) ? $this->_data[$property] : '';
	}

Top ↑

Changelog Changelog

Changelog
Version Description
1.7.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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