BP_Nouveau_Customizer_Group_Nav::__get( string $key )

Gets a property.

Description

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

Parameters

$key

(string) (Required) The property.

Return

(mixed) The value corresponding to the property.

Source

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

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

		return $this->{$key};
	}

Changelog

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