Skip to content

Instantly share code, notes, and snippets.

@SeanChDavis
Created July 12, 2015 17:13
Show Gist options
  • Save SeanChDavis/d5b82f66a6d38b6a3840 to your computer and use it in GitHub Desktop.
Save SeanChDavis/d5b82f66a6d38b6a3840 to your computer and use it in GitHub Desktop.
EDD Content Restriction Remove Pages from Purchase Confirmation
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