Last active
January 16, 2018 06:07
-
-
Save amdrew/455356068e91113f04b9 to your computer and use it in GitHub Desktop.
Easy Digital Downloads - link products at checkout back to their respective single download pages
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 | |
// change this: | |
echo '<span class="edd_checkout_cart_item_title">' . esc_html( $item_title ) . '</span>'; | |
// to this: | |
echo '<a href="' . get_the_permalink( $item['id'] ) . '"><span class="edd_checkout_cart_item_title">' . esc_html( $item_title ) . '</span></a>'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment