Function to return URL of profile image
-
Hello,
What is the correct function call to obtain the URL of a profile image for a given user id? I’m doing this from code outside UM. I’ve tried:
get_avatar_url // WordPress standard function
UM()->uploader()->get_upload_base_url() . um_user( ‘ID’ ) . “/” . um_profile( ‘profile_photo’ ) // doesn’t work when not logged in
Many thanks
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Function to return URL of profile image’ is closed to new replies.