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

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

add_filter( 'wpcf7_mail_components', 'wp_kama_wpcf7_mail_components_filter', 10, 3 );

/**
 * Function for `wpcf7_mail_components` filter-hook.
 * 
 * @param  $components                     
 * @param  $wpcf7_get_current_contact_form 
 * @param  $that                           
 *
 * @return 
 */
function wp_kama_wpcf7_mail_components_filter( $components, $wpcf7_get_current_contact_form, $that ){

	// filter...
	return $components;
}
$components
-
$wpcf7_get_current_contact_form
-
$that
-

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

WPCF7_Mail::compose()
wpcf7_mail_components
contact-form-7/includes/mail.php 107-109
$components = apply_filters( 'wpcf7_mail_components',
	$components, wpcf7_get_current_contact_form(), $this
);

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

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