Created
July 17, 2017 21:09
-
-
Save SeanTOSCD/b66f342f8286882b23dcf4a24b6768be to your computer and use it in GitHub Desktop.
EDD remove downloads shortcode excerpt ellipses
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
Find this line (twice) | |
<?php echo apply_filters( 'edd_downloads_excerpt', wp_trim_words( get_post_field( 'post_excerpt', get_the_ID() ), $excerpt_length ) ); ?> | |
Replace it with this line (again, twice) | |
<?php echo apply_filters( 'edd_downloads_excerpt', wp_trim_words( get_post_field( 'post_excerpt', get_the_ID() ), $excerpt_length, '' ) ); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment