WPCF7_Submission::before_send_mail()privateCF7 1.0

Function called just before sending email.

Метод класса: WPCF7_Submission{}

Хуки из метода

Возвращает

null. Ничего (null).

Использование

// private - только в коде основоного (родительского) класса
$result = $this->before_send_mail();

Код WPCF7_Submission::before_send_mail() CF7 5.9.3

private function before_send_mail() {
	$abort = false;

	do_action_ref_array( 'wpcf7_before_send_mail', array(
		$this->contact_form,
		&$abort,
		$this,
	) );

	return ! $abort;
}