WordPress Media Uploader events

I want to capture the click event on the “Save all changes” button?

Is there any callback method like there is when you click (window.send_to_editor) the “Insert into Post” button

Here is a screenshot

2 s
2

I don’t think there is. You will have to use some local (browser-based) Javascript code to attach a function to the on-click event of the button.

(Not a Javascript expert, but perhaps this will point you in a direction of investigation.)

Leave a Comment