Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Easy Digital Downloads - Show the featured image of a download above the purchase link
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