woocommerce_email_heading_(id) хук-фильтр . WC 1.0
Get email heading.
Использование
add_filter( 'woocommerce_email_heading_(id)', 'filter_function_name_8165', 10, 3 ); function filter_function_name_8165( $format_string, $object, $that ){ // filter... return $format_string; }
- $format_string
- -
- $object
- -
- $that
- -
Где вызывается хук
woocommerce_email_heading_(id)
woocommerce/includes/emails/class-wc-email.php 390
return apply_filters( 'woocommerce_email_heading_' . $this->id, $this->format_string( $this->get_option( 'heading', $this->get_default_heading() ) ), $this->object, $this );