bp_core_removed_subnav_item

bp_core_removed_subnav_item

Hook Type: action

See hook in core

Displaying hooks found in version: buddypress.12.3.0

do_action('bp_core_removed_subnav_item') is found 1 times:

  • /bp-core/bp-core-buddybar.php line 932
    	 * @param string               $parent_slug The slug of the primary navigation item.
    	 * @param string               $slug        The slug of the secondary item to be removed.
    	 * @param string|null          $component   The component the navigation is attached to. Defaults to 'members'.
    	 */
    	do_action( 'bp_core_removed_subnav_item', $screen_functions, $parent_slug, $slug, $component );
    
    	if ( ! is_array( $screen_functions ) ) {
    		return false;
    	}
    
    	$screen_function = reset( $screen_functions );