do_action( 'bp_core_create_nav_link', array $r, array $args, array $defaults, string $component )

Fires after a link is added to the main BuddyPress nav.

Description

Parameters

$r

Parsed arguments for the nav item.

$args

Originally passed in arguments for the nav item.

$defaults

Default arguments for a nav item.

$component

Component that the nav belongs to.

Source

File: bp-core/bp-core-buddybar.php

Changelog

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