bp_core_removed_nav_item

bp_core_removed_nav_item

Hook Type: action

See hook in core

Displaying hooks found in version: buddypress.12.3.0

do_action('bp_core_removed_nav_item') is found 1 times:

  • /bp-core/bp-core-buddybar.php line 875
    	 * @param false|callable|array $screen_functions False, the screen function(s) on success.
    	 * @param string               $slug             The slug of the primary navigation item.
    	 * @param string|null          $component        The component the navigation is attached to. Defaults to 'members'.
    	 */
    	do_action( 'bp_core_removed_nav_item', $screen_functions, $slug, $component );
    
    	if ( ! is_array( $screen_functions ) ) {
    		return false;
    	}
    
    	foreach ( $screen_functions as $screen_function ) {