• When I execute this code it doesn’t do anything except there comes up a spinning icon underneath the contact form wich spins forever.

    add_action( 'wpcf7_before_send_mail', 'process_contact_form_data' );
    
    function process_contact_form_data( $contact_data ){
    
    var_dump($contact_data->posted_data);
            $name = $contact_data->posted_data["your-name"];
            $email = $contact_data->posted_data["your-email"];
    
    echo $name ;
    echo $email; }
  • The topic ‘Unable to execute script after contact form 7 submit’ is closed to new replies.