• Would you consider adding the following code to the Contact Form 7 Multi-Step Forms plugin so that the information set with [multiform your-name] appears as an option in the email tab of Contact Form 7?

    add_filter('wpcf7_collect_mail_tags', 'add_multiform_to_wpcf7_collect_mail_tags', 10, 3);
    function add_multiform_to_wpcf7_collect_mail_tags($mailtags, $args, $_this){
    	$tags = $_this->scan_form_tags();
    	foreach ($tags as $tag){
    		if('multiform' === $tag->basetype){
    			$mailtags[] = $tag->options[0];
    		}
    	}
    	return $mailtags;
    }
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Proposing Code Update to Display Multi-Step Form Details in Email Tab’ is closed to new replies.