Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I want to add a simple button to the Media Library top menu (say, to the right of the bulk actions / filters dropdowns. I have scoured the WordPress codex for a proper way to do this and have found nothing useful.

So before I start attacking this problem with Javascript, I wanted to ask the community if there's a proper WordPress API way of doing this - along the lines of manage_media_columns and manage_media_custom_column.

Thanks everyone!

share|improve this question
I spent some time digging around in the core files looking for undocumented actions and filters that you might hook into in upload.php or the associated classes that it relies upon, but I'm not finding anything. I think the answer is going to be "JavaScript away!" Sorry. –  Scott Nelle yesterday
I also have spent a lot of time on this problem. And in my opinion unlike most of WordPress, Media Library does not seem to have the actions and filters that would make it easy to modify. I ended up subclassing WP_Media_List_Table which is not ideal. But, maybe I am just not clever enough. I hope someone knows better as it would solve a major headache for me. –  Magenta Cuda yesterday

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.