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

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

add_filter( 'wpcf7_additional_mail', 'wp_kama_wpcf7_additional_mail_filter', 10, 2 );

/**
 * Function for `wpcf7_additional_mail` filter-hook.
 * 
 * @param  $additional_mail 
 * @param  $contact_form    
 *
 * @return 
 */
function wp_kama_wpcf7_additional_mail_filter( $additional_mail, $contact_form ){

	// filter...
	return $additional_mail;
}
$additional_mail
-
$contact_form
-

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

WPCF7_Submission::mail()
wpcf7_additional_mail
contact-form-7/includes/submission.php 803-805
$additional_mail = apply_filters( 'wpcf7_additional_mail',
	$additional_mail, $contact_form
);

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

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