bp_displayed_user_front_template_part

Output the contents of the current user's home page.

Description

bp_displayed_user_front_template_part(); 

Usage

  1. if ( !function_exists( 'bp_displayed_user_front_template_part' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-members/bp-members-template.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bp_displayed_user_front_template_part(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/bp-members/bp-members-template.php  
  1. function bp_displayed_user_front_template_part() { 
  2.  
  3. if ( false !== $located ) { 
  4. $slug = str_replace( '.php', '', $located ); 
  5. $name = null; 
  6.  
  7. /** 
  8. * Let plugins adding an action to bp_get_template_part get it from here 
  9. * @param string $slug Template part slug requested. 
  10. * @param string $name Template part name requested. 
  11. */ 
  12.  
  13. load_template( $located, true ); 
  14.  
  15. return $located;