Update template-functions.php

Allow edd_purchase ID to be removed from shortcodes and widget output.