Support » Plugin: Contact Form 7 » No specific form

  • Hi,

    I’m using the code below for a specific form(18), not to send emails. With the upgrade to version 4.9 and the code has stopped working.

    function wpcf7_no_send($cf7) {
    $wpcf = WPCF7_ContactForm::get_current();
    if ($wpcf->id == 18) {
    $wpcf->skip_mail = true;
    return $wpcf;
    add_action(“wpcf7_before_send_mail”, “wpcf7_no_send”);

    Could you tell me what I’m doing wrong?



  • The topic ‘No specific form’ is closed to new replies.