WPCF7_ContactFormTemplate::mail_2()public staticCF7 1.0

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

Хуков нет.

Возвращает

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

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

$result = WPCF7_ContactFormTemplate::mail_2();

Код WPCF7_ContactFormTemplate::mail_2() CF7 5.9.3

public static function mail_2() {
	$template = array(
		'active' => false,
		'subject' => sprintf(
			/* translators: 1: blog name, 2: [your-subject] */
			_x( '%1$s "%2$s"', 'mail subject', 'contact-form-7' ),
			'[_site_title]',
			'[your-subject]'
		),
		'sender' => sprintf(
			'%s <%s>',
			'[_site_title]',
			self::from_email()
		),
		'body' =>
			__( 'Message Body:', 'contact-form-7' )
			. "\n" . '[your-message]' . "\n\n"
			. '-- ' . "\n"
			. sprintf(
				/* translators: 1: blog name, 2: blog URL */
				__( 'This email is a receipt for your contact form submission on our website (%1$s %2$s) in which your email address was used. If that was not you, please ignore this message.', 'contact-form-7' ),
				'[_site_title]',
				'[_site_url]'
			),
		'recipient' => '[your-email]',
		'additional_headers' => sprintf(
			'Reply-To: %s',
			'[_site_admin_email]'
		),
		'attachments' => '',
		'use_html' => 0,
		'exclude_blank' => 0,
	);

	return $template;
}