Cross-sells and Upsells - Removing the excerpt

To remove the excerpt using the  Cross-sells and Upsells addon, copy and paste one of the following functions (mind the opening PHP tag) into your child theme’s functions.php or custom plugin.

The second example shows how you can remove the excerpt, but only on single download pages.

<?php
/**
 * EDD Cross-sell & Upsell - Removing the excerpt
 * https://easydigitaldownloads.com/extensions/cross-sell-and-upsell/?ref=166
*/
function sumobi_edd_csau_show_excerpt() {
	return false;
}
add_filter( 'edd_csau_show_excerpt', 'sumobi_edd_csau_show_excerpt' );
<?php
/**
 * EDD Cross-sell & Upsell - Removing the excerpt, but only on single download pages
 * https://easydigitaldownloads.com/extensions/cross-sell-and-upsell/?ref=166
*/
function sumobi_edd_csau_show_excerpt() {
	if ( is_singular( 'download' ) ) {
		return false;
	}

	return true;
}
add_filter( 'edd_csau_show_excerpt', 'sumobi_edd_csau_show_excerpt' );