BP_Core_BP_Nav_BackCompat::reset()

Reset the cached nav items.

Description

Called when the nav API removes items from the nav array.

Source

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

	public function reset() {
		$this->backcompat_nav = array();
	}

Changelog

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