Created
November 7, 2015 05:11
-
-
Save hlashbrooke/a1185df7576b3ff4fd28 to your computer and use it in GitHub Desktop.
Seriously Simple Podcasting: Remove 'Download file' link from episode meta data
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_meta_details', 'ssp_remove_download_link', 10, 3 ); | |
function ssp_remove_download_link ( $meta, $episode_id, $context ) { | |
unset( $meta['link'] ); | |
return $meta; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Does this also obfuscate the link if you view the page source code? I'm restricting content, but you can get to the server link if you dig deep enough in the browser tools.