I am writing a plugin for Wordpress and am wondering how to add an extra button to the media uploader that says something like "add to album". I can't seem to find info on how other developers have managed to get this done. Thanks :)
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
When i needed to do something similar i used the something like this:
|
|||||||||||
|
|
I managed to get it done this way: Adding JS to the media uploader:
And then using this JS:
Then I hooked into tb_close like this:
|
|||
|
|
|
Or you can add a new tab, containing whatever you want .
|
||||
|
|