• I have been looking for a solution to this for months.

    I can’t get the profile picture to show after the user registry. someone else has the same problem.?

    `/**
    * Ultimate Member – Customization
    * Description: Allow everyone to upload profile and cover photos on front-end pages.
    */
    add_filter(‘um_user_pre_updating_files_array’,’um_custom_user_pre_updating_files_array’, 10, 1);
    function um_custom_user_pre_updating_files_array( $arr_files ){

    if( is_array( $arr_files ) ){
    foreach( $arr_files as $key => $details ){
    if( $key == ‘userphoto’ ){
    unset( $arr_files[ $key ] );
    $arr_files[ ‘profile_photo’ ] = $details;
    }
    }
    }

    The page I need help with: [log in to see the link]

  • The topic ‘Upload profile picture during registration’ is closed to new replies.