Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Display picture of user

$
0
0

Replies: 0

Hi,

I created a contributor account for one of my collaborators.
This account is just for putting pictures in drag and drop.
What I would like to do is to post on another page “remember” the photos he has put on his profile.

I tryed on this code base that I already used but it does not work ..

<?php
$user_id = um_get_requested_user();
um_fetch_user( $user_id );
$meta_value = get_user_meta( $user_id, ‘photonbre2’, true );
if ( $meta_value ) {
echo ‘uploader()->get_upload_base_url() . um_user( ‘id’ ) . “/” . $meta_value . ‘” />’;
}
?>

Do you have any idea ?

Regards


Viewing all articles
Browse latest Browse all 59525

Trending Articles