em_event_save hook not working
-
Hello,
The em_event_save hook isn’t working for me.
Plugin version: 5.6.1I tried this code, but the email never arrives.
add_filter('em_event_save','invite_group_button'); function invite_group_button($content){ $multiple_recipients = 'ss@ss.hu'; $subj = 'The email subject'; $body = 'Current url:'.$_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"].''; wp_mail( $multiple_recipients, $subj, $body ); }
But it’s working with
em_event_output_single
filter, but it send the emails 3 times.What’s wrong?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘em_event_save hook not working’ is closed to new replies.