Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Easy Digital Downloads - link products at checkout back to their respective single download pages
<?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