BP_Core_Nav::__isset( string $key )

Checks whether a nav item is set.


Parameters Parameters

$key

(string) (Required) The requested nav slug.


Top ↑

Return Return

(bool) True if the nav item is set, false otherwise.


Source Source

File: bp-core/classes/class-bp-core-nav.php

	public function __isset( $key ) {
		return isset( $this->nav[ $this->object_id ][ $key ] );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
2.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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