• I’m trying to exclude email of cf7 using the mandrill_payload filter


    function excludeddd($message) {
    $cf7_tag = 'wp_WPCF7_Mail->compose';
    if ( in_array($cf7_tag, $message['tags']['automatic']) ) {
    $message['force_native'] = true;
    }
    return $message;
    }
    add_filter('mandrill_payload', 'excludeddd');

    But it doesn’t help.

    https://www.ads-software.com/plugins/wpmandrill/

  • The topic ‘Conflict with Contact Form 7’ is closed to new replies.