• Resolved Fangstrom

    (@fangstrom)


    Hi

    First of all, this is a great module!

    I couldn’t find an answer to the folowing sudgestion so i post a new thread.

    My sudgestion though is that you add a function to the CF7 where you can turn of the mailing part.

    The thing is that i’m using the CF7 with the CF7 DB extension and have been looking for a way to only store the information in the database without sending an e-mail.

    After some research i have noticed that there are more people who are looking for a feutre like this so it’s not only me.

    And trust me, there’s no contact form that works as well as the CF7 so if you add this it would be even more awesome!

    (btw, excuse my bad english)

    best regards // Jonas

    https://www.ads-software.com/extend/plugins/contact-form-7/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Add this code to your theme’s functions.php.

    add_action( 'wpcf7_before_send_mail', 'my_wpcf7_skip_mail' );
    
    function my_wpcf7_skip_mail( $cf ) {
    	$cf->skip_mail = true;
    }
    Thread Starter Fangstrom

    (@fangstrom)

    Thank you.

    Will try this.

    Thread Starter Fangstrom

    (@fangstrom)

    Works great!
    Awesome!
    Thanx

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Contact Form 7] Add function suggestion / Turn of mailing support’ is closed to new replies.