Skip to content

Instantly share code, notes, and snippets.

@hlashbrooke
Created November 7, 2015 05:11
Show Gist options
  • Save hlashbrooke/a1185df7576b3ff4fd28 to your computer and use it in GitHub Desktop.
Save hlashbrooke/a1185df7576b3ff4fd28 to your computer and use it in GitHub Desktop.
Seriously Simple Podcasting: Remove 'Download file' link from episode meta data
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;
}
@itsjusteileen
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment