I’m writing a plugin that gets an MP3 URL from another server, and appends it to the end of the post using the the_content filter.
But what I really want is to add the MP3 with a media enclosure, so the RSS feed looks like a podcast. Is there any WordPress function which will take a URL and generate an enclosure for me, or do I have to do it on my own?
I did try searching the codex but couldn’t find what I was looking for.
- The topic ‘WordPress function to create enclosure?’ is closed to new replies.