p2_get_author_name

The BP Groupblog p2 get author name function.

Description

p2_get_author_name(); 

Usage

  1. if ( !function_exists( 'p2_get_author_name' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'bp-groupblog/themes/p2/inc/template-tags.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = p2_get_author_name(); 
  7.  

Defined (1)

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

/themes/p2/inc/template-tags.php  
  1. function p2_get_author_name() { 
  2. global $authordata; 
  3.  
  4. return apply_filters( 'p2_get_author_name', $authordata->nickname );