[buddypress-trac] [BuddyPress] #2436: Make it easy to just get the avatar URL

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sun Jun 27 05:50:14 UTC 2010


#2436: Make it easy to just get the avatar URL
-------------------------+--------------------------------------------------
 Reporter:  hempsworth   |        Owner:  hempsworth
     Type:  enhancement  |       Status:  closed    
 Priority:  normal       |    Milestone:  1.2.5     
Component:  Core         |   Resolution:  fixed     
 Keywords:  has-patch    |  
-------------------------+--------------------------------------------------

Comment(by johnjamesjacoby):

 hempsworth: The $html argument was added, and set to true by default.

 If you use...
 {{{
 bp_core_fetch_avatar( array( 'html' => false ) );
 }}}
 ...you will simply return the URL of the avatar with no <img>

-- 
Ticket URL: <https://trac.buddypress.org/ticket/2436#comment:3>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list