Support

Account

Home Forums General Issues Profile Image not retrieving

Unread

Profile Image not retrieving

  • I get all user data with the help of this code

    $blogusers = get_users( array( 'role' => 'Educator' ) );
    
    foreach ( $blogusers as $user ) {
    
    $user_ID = "user_".$user->ID;
    $all_meta = get_user_meta($user->ID );
    
    //geting available hours of that user id
    the_field('available_hours', "$user_ID" );
    
    }

    Problem is that image is not retrieving while i used same method given in documentation

    how can i get my image its field name is ‘name’??

Viewing 1 post (of 1 total)

The topic ‘Profile Image not retrieving’ is closed to new replies.