Created
May 23, 2022 12:00
-
-
Save Pebblo/a539d5c5ec9b6101543854a6dee69267 to your computer and use it in GitHub Desktop.
Example of how to add additional message stati to FHEE__EEM_Message__stati_indicating_to_send
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 | |
//* Please do NOT include the opening php tag, except of course if you're starting with a blank file | |
add_filter( | |
'FHEE__EEM_Message__stati_indicating_to_send', | |
'tw_ee_filter_stati_indicating_to_send' | |
); | |
function tw_ee_filter_stati_indicating_to_send( $stati_array ) { | |
$stati_array[] = EEM_Message::status_retry; | |
return $stati_array; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment