bbp_get_reply_author_avatar

  • apply_filters( 'bbp_get_reply_author_avatar', $author_avatar, $reply_id, $size )

    Source Reference:

    • Component: bbPress :: bbp-reply
      File: /bbp-includes/bbp-reply-template.php :: Trac Source Line: 916
      			// Check for anonymous user
      			if ( !bbp_is_reply_anonymous( $reply_id ) )
      				$author_avatar = get_avatar( bbp_get_reply_author_id( $reply_id ), $size );
      			else
      				$author_avatar = get_avatar( get_post_meta( $reply_id, '_bbp_anonymous_email', true ), $size );
      		} else {
      			$author_avatar = '';
      		}
      
      		return apply_filters( 'bbp_get_reply_author_avatar', $author_avatar, $reply_id, $size );
      	}
      
      /**
       * Output the author link of the reply
       *
       * @since bbPress (r2717)
       *
       * @param mixed $args Optional. If it is an integer, it is used as reply id.
       * @uses bbp_get_reply_author_link() To get the reply author link
       */
      

Comments are closed.