I tried to add that code but I got an error message as follows:
Warning: There is 1 line that has double semi-colons:
publish';
PHP Syntax Check: Parse error: syntax error, unexpected ‘&’ in your code on line 1
add_filter( 'fep_filter_message_before_send', function( $message ) {
PHP Syntax Check: Errors parsing your code