Home / Admin / Show Featured Image With Purchase Link
Duplicate Snippet

Embed Snippet on Your Site

Show Featured Image With Purchase Link

Shows a download's featured image with the purchase link

Code Preview
php
<?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' );

Comments

Add a Comment