bp_logout_nav_link

  • apply_filters( 'bp_logout_nav_link', $logout_link )

    Source Reference:

    • Component: BuddyPress :: bp-members
      File: /bp-members/bp-members-template.php :: Trac Source Line: 736
      		}
      
      		// echo out the final list item
      		echo apply_filters_ref_array( 'bp_get_loggedin_user_nav_' . $nav_item['css_id'], array( '<li id="li-nav-' . $nav_item['css_id'] . '" ' . $selected . '><a id="my-' . $nav_item['css_id'] . '" href="' . $nav_item['link'] . '">' . $nav_item['name'] . '</a></li>', &$nav_item ) );
      	}
      
      	// Always add a log out list item to the end of the navigation
      	$logout_link = '<li><a id="wp-logout" href="' .  wp_logout_url( bp_get_root_domain() ) . '">' . __( 'Log Out', 'buddypress' ) . '</a></li>';
      
      	echo apply_filters( 'bp_logout_nav_link', $logout_link );
      }
      
      /**
       * Uses the $bp->bp_nav global to render out the user navigation when viewing another user other than
       * yourself.
       *
       * @package BuddyPress Core
       * @global object $bp Global BuddyPress settings object
       */
      function bp_get_displayed_user_nav() {
      

Comments are closed.