wpcf7_collect_mail_tags
Использование
add_filter( 'wpcf7_collect_mail_tags', 'wp_kama_wpcf7_collect_mail_tags_filter', 10, 3 );
/**
* Function for `wpcf7_collect_mail_tags` filter-hook.
*
* @param $mailtags
* @param $options
* @param $that
*
* @return
*/
function wp_kama_wpcf7_collect_mail_tags_filter( $mailtags, $options, $that ){
// filter...
return $mailtags;
}
- $mailtags
- -
- $options
- -
- $that
- -
Где вызывается хук
wpcf7_collect_mail_tags
contact-form-7/includes/contact-form.php 1006
return apply_filters( 'wpcf7_collect_mail_tags', $mailtags, $options, $this );