wpcf7_mail_html_footer
Использование
add_filter( 'wpcf7_mail_html_footer', 'wp_kama_wpcf7_mail_html_footer_filter', 10, 2 ); /** * Function for `wpcf7_mail_html_footer` filter-hook. * * @param $string * @param $that * * @return */ function wp_kama_wpcf7_mail_html_footer_filter( $string, $that ){ // filter... return $string; }
- $string
- -
- $that
- -
Где вызывается хук
contact-form-7/includes/mail.php 215-219
$footer = apply_filters( 'wpcf7_mail_html_footer', '</body> </html>', $this );