Skip to content

Instantly share code, notes, and snippets.

@TheCraigHewitt
Created July 27, 2019 17:26
Show Gist options
  • Save TheCraigHewitt/a5fef2b6b2cb94bc4da5b5cf495115a5 to your computer and use it in GitHub Desktop.
Save TheCraigHewitt/a5fef2b6b2cb94bc4da5b5cf495115a5 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;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment