Viewing 1 replies (of 1 total)
  • Thread Starter Rem_FR

    (@rem_fr)

    I found something in classes.php

    $result['mail_sent'] = true;
    			$result['message'] = $this->message( 'mail_sent_ok' );
    
    			do_action_ref_array( 'wpcf7_mail_sent', array( &$this ) );
    
    			if ( $ajax ) {
    				$on_sent_ok = $this->additional_setting( 'on_sent_ok', false );
    
    				if ( ! empty( $on_sent_ok ) )
    					$result['scripts_on_sent_ok'] = array_map( 'wpcf7_strip_quote', $on_sent_ok );
    			} else {
    				$this->clear_post();
    			}

    But i don’t know how to do the same thing with ‘on_sent_ng’

Viewing 1 replies (of 1 total)
  • The topic ‘redirection with wpcf7-mail-sent-ng’ is closed to new replies.