Seriously Simple Podcasting: Use raw audio file URL instead of custom rewrite
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'ssp_episode_download_link', 'ssp_use_raw_audio_file_url', 10, 3 ); | |
function ssp_use_raw_audio_file_url ( $url, $episode_id, $file ) { | |
return $file; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can you somehow adjust this code to fix the URLs in the RSS Feed? The feed also has the "Download Episode" and "Play in Window" links but they don't get updated with this code.