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.


Parameters Parameters

$r

(array) Parsed arguments for the nav item.

$args

(array) Originally passed in arguments for the nav item.

$defaults

(array) Default arguments for a nav item.

$component

(string) Component that the nav belongs to.


Source Source

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

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
2.6.0 Added $component parameter.
2.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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