bp_comment_author_avatar

  • apply_filters( 'bp_comment_author_avatar', bp_core_fetch_avatar( array( 'item_id' => $comment->user_id, 'type' => 'thumb' ) ) )

    Source Reference:

    • Component: BuddyPress :: bp-core
      File: /bp-core/bp-core-template.php :: Trac Source Line: 97
      	global $bp;
      
      	echo apply_filters( 'bp_get_options_avatar', $bp->bp_options_avatar );
      }
      
      function bp_comment_author_avatar() {
      	global $comment;
      
      	if ( function_exists( 'bp_core_fetch_avatar' ) )
      		echo apply_filters( 'bp_comment_author_avatar', bp_core_fetch_avatar( array( 'item_id' => $comment->user_id, 'type' => 'thumb' ) ) );
      	else if ( function_exists('get_avatar') )
      		get_avatar();
      }
      
      function bp_post_author_avatar() {
      	global $post;
      
      	if ( function_exists( 'bp_core_fetch_avatar' ) )
      		echo apply_filters( 'bp_post_author_avatar', bp_core_fetch_avatar( array( 'item_id' => $post->post_author, 'type' => 'thumb' ) ) );
      	else if ( function_exists('get_avatar') )
      

Comments are closed.