I’m trying to modify wpaudioplayer to do a few things and I’m looking for advice.
The first thing I would like to do is modify the “Audio Player” button that is created using the “attachment_fields_to_edit” hook to include a download link with a specific class above the player. I have tried to modify the ‘title’ attribute of the button, which appears to control the insert, but it will not insert a link, any attempt to do so either breaks the button or the insert. Any advice? My guess is to put [download-link] and just modify the audioplayer to insert the link at this point before it drops in the player.