bp_nouveau_get_directory_nav_object()

Gets the directory nav item object.

Description

See also

Return

(array)

Source

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

1467
1468
1469
1470
1471
1472
1473
1474
1475
function bp_nouveau_get_directory_nav_object() {
    $nav_item = bp_nouveau()->current_nav_item;
 
    if ( ! $nav_item->component ) {
        return null;
    }
 
    return $nav_item->component;
}

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.