wp_editor media upload
I am using wp_editor as a front end editor to create posts. The media_buttons works great for uploading photos and video to the media library, but they are not attached to the post. Is there a way to grab the attachment_id when the file is uploaded so I can attach it to the newly created post?
- The topic ‘wp_editor media upload’ is closed to new replies.