do_action( 'bp_core_new_nav_item', array $r, array $args, array $defaults )

Fires after adding an item to the main BuddyPress navigation array.

Description Description

Note that, when possible, the more specific action hooks bp_core_create_nav_link or bp_core_register_nav_screen_function should be used.

Top ↑

Parameters Parameters


(array) Parsed arguments for the nav item.


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


(array) Default arguments for a nav item.

Source Source

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

View on Trac

Top ↑

Changelog Changelog

Version Description
1.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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