Disable Email for One Message Home › Forums › Front End PM PRO › Disable Email for One Message Search for: This topic is: Resolved This topic has 2 replies, 2 voices, and was last updated 3 years, 10 months ago by Craig Tucker. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts September 12, 2017 at 1:45 pm #6419 Craig TuckerParticipant I am using fep_send_message() to send a message via an add_action item in function.php. I want to disable email for this message only. Within my function I am using– `add_filter( ‘fep_enable_email_send’, ‘__return_false’ ); However the email continues to send anyway. Do I need to include the message ID in some way? Do I have to initiate it somehow? September 12, 2017 at 7:20 pm #6427 shamimKeymaster You can add remove_action( 'fep_action_message_after_send', array( Fep_Emails::init(), 'save_send_email'), 20, 2 ); just before using fep_send_message() September 13, 2017 at 11:32 am #6434 Craig TuckerParticipant Works great. Thanks so much. Author Posts Viewing 3 posts - 1 through 3 (of 3 total) You need to purchase ‘Front End PM PRO’ to create topic in this support forum. If you already purchased ‘Front End PM PRO’ please LOGIN.