I stack on this function media_handle_upload( $file_id, $post_id, $post_data, $overrides );

Is there a way to upload media (image, video, etc.) relatated to user ID?

I need to create custom page where registered user upload media and they only need to see own media realated to ther user profile ID.

Can anyone help me?

Read more here: Upload media gallery from front-end side on WordPress related to user


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: