bp_core_new_nav_item

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

    Source Reference:

    • Component: BuddyPress:: bp-core
      File: /bp-core/bp-core-buddybar.php :: Trac Source Line: 86
      		if ( !is_object( $screen_function[0] ) )
      			add_action( 'bp_screens', $screen_function );
      		else
      			add_action( 'bp_screens', array( &$screen_function[0], $screen_function[1] ), 3 );
      
      		if ( !empty( $default_subnav_slug ) )
      			$bp->current_action = apply_filters( 'bp_default_component_subnav', $default_subnav_slug, $r );
      	}
      
      	do_action( 'bp_core_new_nav_item', $r, $args, $defaults );
      }
      
      /**
       * Modify the default subnav item to load when a top level nav item is clicked.
       *
       * @package BuddyPress Core
       * @global object $bp Global BuddyPress settings object
       */
      function bp_core_new_nav_default( $args = '' ) {
      	global $bp;
      

Comments are closed.