How do you access the media gallery in plugin code…
I’m trying to write a plugin that will be able to use an image from the media gallery or information from the whole “Add media” as postmeta.
Can anyone out there point me in the direction of whatever part of the API, etc. allows me to access the “Add Media” window to allow people to upload something to the media gallery and then take the location of that image in the gallery and store it as post meta?
Thanks in advance for any pointers. I’m trying to reverse engineer other gallery/slideshow plugins that don’t do exactly what I need, but it’s slow going.
…and I just can’t seem to find anything in the WordPress docs on how to manipulate the media gallery for use in plugin development.
- The topic ‘How do you access the media gallery in plugin code…’ is closed to new replies.