Title: Matthew's Replies | WordPress.org

---

# Matthew

  [  ](https://wordpress.org/support/users/theclassicalmatt/)

 *   [Profile](https://wordpress.org/support/users/theclassicalmatt/)
 *   [Topics Started](https://wordpress.org/support/users/theclassicalmatt/topics/)
 *   [Replies Created](https://wordpress.org/support/users/theclassicalmatt/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/theclassicalmatt/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/theclassicalmatt/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/theclassicalmatt/engagements/)
 *   [Favorites](https://wordpress.org/support/users/theclassicalmatt/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content – ProfilePress] Get URL only via get_wp_user_avatar_url](https://wordpress.org/support/topic/get-url-only-via-get_wp_user_avatar_url/)
 *  [Matthew](https://wordpress.org/support/users/theclassicalmatt/)
 * (@theclassicalmatt)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/get-url-only-via-get_wp_user_avatar_url/#post-9960659)
 * Not sure if this is what you were looking for or if you’ve already found out 
   but I’ll leave it here anyway.
 * I’ve used this: get_wp_user_avatar_src
    I see you are using _url but _src is 
   the one you need.
 *     ```
       function get_team_avatar_url( $id )
       {
       	// Just in case wp_user_avatar is disabled, check if exists.
       	return function_exists(get_wp_user_avatar_src) ? get_wp_user_avatar_src($id) : get_avatar_url($id);
       }
       ```
   
 * Ver.1.9.13 – Since ver: 1.8 – /wp-user-avatar/includes/wpua-functions.php – Line:
   48
 *     ```
       function get_wp_user_avatar_src($id_or_email="", $size="", $align="") {
         global $wpua_functions;
         return $wpua_functions->get_wp_user_avatar_src($id_or_email, $size, $align);
       }
       ```
   

Viewing 1 replies (of 1 total)