Upload avatar for different user
-
I would like to include the shortcode in the frontend, but the chosen image should be used for a different user i define.
For example this could work like so:[avatar_upload user=”123″] where 123 is the user ID.
Of course this can only be used if the logged in user is allowed to edit the specified user,
if ( current_user_can( 'edit_user', 123 ) ...
Would be awesome if you could add that! Thank you!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Upload avatar for different user’ is closed to new replies.