Skip to content

Instantly share code, notes, and snippets.

@Pebblo
Created May 23, 2022 12:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Pebblo/a539d5c5ec9b6101543854a6dee69267 to your computer and use it in GitHub Desktop.
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
<?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