Created
July 12, 2015 17:13
-
-
Save SeanChDavis/d5b82f66a6d38b6a3840 to your computer and use it in GitHub Desktop.
EDD Content Restriction Remove Pages from Purchase Confirmation
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
function sd_remove_cr_pages() { | |
remove_action( 'edd_payment_receipt_after', 'edd_cr_add_to_receipt', 1, 2 ); | |
} | |
add_action( 'init', 'sd_remove_cr_pages' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment