wpcf7_mail_failed

wpcf7_mail_failed

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: contact-form-7.5.9.3

do_action('wpcf7_mail_failed') is found 1 times:

  • /includes/submission.php line 132
    				} else {
    					$this->set_status( 'mail_failed' );
    					$this->set_response( $contact_form->message( 'mail_sent_ng' ) );
    
    					do_action( 'wpcf7_mail_failed', $contact_form );
    				}
    			}
    		};
    
    		wpcf7_switch_locale( $this->contact_form->locale(), $callback );
    	}