Support › MB Frontend Submission › Attach the uploaded media file to the post
Hi, I have a frontend submit that creates a post with an image upload field, is it possible to attach images to the created post so they appear in the modal media when we filter by "uploaded into this..." thanks
It looks like the field image_upload does not set the post parent (Uploaded to) for the uploaded images. I will inform the development team to consider supporting this feature in future updates.
Meantime, you can try to set the post parent (Uploaded to) for the images manually. Or if you are familiar with coding, each image is a post (post type attachment), you can update the image data with the WordPress function wp_update_post().
Refer to this topic https://wordpress.stackexchange.com/questions/79934/how-to-update-post-parent