Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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;
Copy link

itsjusteileen commented Dec 13, 2018

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