Created
August 12, 2019 17:41
-
-
Save LMNTL/51d9da70ba6ffd1437f3d3482fabb751 to your computer and use it in GitHub Desktop.
Remove shipping address from PMPro-generated emails when using Shipping Add On
This file contains hidden or 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
// Remove shipping address from PMPro-generated emails when using Shipping Add On | |
function my_pmproship_remove_email_filter() | |
{ | |
remove_filter( "pmpro_email_body", "pmproship_pmpro_email_body", 10, 2 ); | |
} | |
add_action( "init", "my_pmproship_remove_email_filter"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment