-
-
Save seb86/0621758b9828e974dc27 to your computer and use it in GitHub Desktop.
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
<?php | |
function sumobi_edd_purchase_link_show_featured_image( $download_id ) { | |
echo get_the_post_thumbnail( $download_id, 'thumbnail' ); | |
} | |
add_action( 'edd_purchase_link_top', 'sumobi_edd_purchase_link_show_featured_image' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment