Upload media gallery from front-end side on WordPress related to user

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

Leave a Reply

Your email address will not be published. Required fields are marked *