Custom “Insert into Post” button

I am trying to make a simple plugin that sets a background image. I have it linked to the media library so that when you click “Insert into Post” it does a custom function. However, obviously this custom function is undesirable in any other context. As such I would like to make a separate button “Make Background” that would call the custom function. Any ideas?

Thanks

Related posts

Leave a Reply

1 comment