wpcf7_mail_html_header хук-фильтрCF7 1.0

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

add_filter( 'wpcf7_mail_html_header', 'wp_kama_wpcf7_mail_html_header_filter', 10, 2 );

/**
 * Function for `wpcf7_mail_html_header` filter-hook.
 * 
 * @param  $html 
 * @param  $that 
 *
 * @return 
 */
function wp_kama_wpcf7_mail_html_header_filter( $html, $that ){

	// filter...
	return $html;
}
$html
-
$that
-

Где вызывается хук

WPCF7_Mail::htmlize()
wpcf7_mail_html_header
contact-form-7/includes/mail.php 202-211
$header = apply_filters( 'wpcf7_mail_html_header',
	'<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml"' . $lang_atts . '>
<head>
<title>' . esc_html( $this->get( 'subject', true ) ) . '</title>
</head>
<body>
',
	$this
);

Где используется хук в Contact Form 7

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