Apps Ballance Chat Click Code Cog_Wheels Compose_email Conference Contacts Earth Edit_File_1_ Email Email_2 File Folder_2 Gift Group Group_2 Help ID ID_2 Key Keys Laptop_Store Like_1_ Link Lock Log_Out Map Marketing Mobile_UI Navigation POS Partnership Profile Safe_2 Search_User Secure_Files Settings Share Shield Shield_2 Shopping_Cart Support_Male Trash Type_pin User_female User_male logo copy

Set the user avatar image from LinkedIn

Iain Poulson avatar
Iain Poulson Last updated on March 10, 2021

If you are using LinkedIn as a social login option, you might want to auto populate the users avatar image with their LinkedIn profile image.

Here’s the code you need to achieve this –

https://gist.github.com/wp-user-manager/41cfe2d8f8926275f7d6a824665ed724

You would need to save this file to your /wp-content/mu-plugins/ directory (you might need to create the mu-plugins directory).

Let me know if you need anything further.

WP User Manager logo

Get Started with the Best WordPress Membership Plugin Today

Connect, Manage and Build your Membership Site

Need more help?

If you still didn't find an answer you can always contact us

Submit a ticket