bp_nouveau_get_directory_nav_object()

Gets the directory nav item object.


Description Description

See also See also


Top ↑

Return Return

(array)


Top ↑

Source Source

File: bp-templates/bp-nouveau/includes/template-tags.php

	function bp_nouveau_get_directory_nav_object() {
		$nav_item = bp_nouveau()->current_nav_item;

		if ( ! $nav_item->component ) {
			return null;
		}

		return $nav_item->component;
	}


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.