-
-
Save itsjusteileen/2bf449bac74356419a8bef6a7623ea20 to your computer and use it in GitHub Desktop.
Seriously Simple Podcasting: Remove 'Download file' link from episode meta data
This file contains hidden or 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