Last active
February 5, 2021 15:15
-
-
Save dennisnissle/77ef065ebe8fde5b2210404befeeb8b9 to your computer and use it in GitHub Desktop.
Remove invoice summary from emails
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
<?php | |
add_action( 'init', 'my_child_after_sab_init', 40 ); | |
function my_child_after_sab_init() { | |
remove_action( 'storeabill_email_document_details', array( 'Vendidero\StoreaBill\Emails\Mailer', 'summary' ), 20 ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment