Conditionally stop email
add_filter(‘frm_to_email’, ‘stop_the_email’, 10, 4); function stop_the_email($recipients, $values, $form_id, $args){ if ( $form_id == 5 && $args[’email_key’] == 123 ) { //change 5 to the id of the form and 123 to the ID of your email notification if ( isset(…Continue reading