title: How to get attachment files by current user in wordpress?
body: <p>When users register to our platform, they have to upload file(s) to complete the registration. Those files are saved as attachments to the user's profile with the advanced field key: <code>user_registration_logo</code></p>
  <p>I have built a custom profile page for users and now I would like to show those uploaded files on that page. I think that the function.php has to be something like <code>get_user</code> &amp; <code>get_attachment_url</code> and then with shortcode display files in UI.</p>
  <p>Thank you in advance for all the help!</p>