Support » Plugin: Contact Form 7 » [Plugin: Contact Form 7] Send error to contact form 7

  • Hi,
    i’m using the action
    add_action('wpcf7_before_send_mail', 'wpcf7_my_before_send_action',1);

    and in my function i make some stuff with the contact form 7 values
    ‘function wpcf7_my_before_send_action($cfdata){..}’

    My question is, how to return an error to CF7 to display an error message ?

    something like
    $cfdata->message =>name of the error
    return false…

    thanks for your help

    http://wordpress.org/extend/plugins/contact-form-7/

  • The topic ‘[Plugin: Contact Form 7] Send error to contact form 7’ is closed to new replies.