BP_Nouveau_Customizer_Group_Nav::__get( string $key )

Gets a property.


Description Description

Overrides BP_Core_Nav::__isset() to avoid looking into its nav property.


Top ↑

Parameters Parameters

$key

(string) (Required) The property.


Top ↑

Return Return

(mixed) The value corresponding to the property.


Source Source

File: bp-templates/bp-nouveau/includes/groups/classes.php

	public function __get( $key ) {
		if ( ! isset( $this->{$key} ) ) {
			$this->{$key} = null;
		}

		return $this->{$key};
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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