woocommerce_email_content_type filter-hook . WC 1.0
Usage
add_filter( 'woocommerce_email_content_type', 'filter_function_name_7463', 10, 3 ); function filter_function_name_7463( $content_type, $that, $default_content_type ){ // filter... return $content_type; }
- $content_type
- -
- $that
- -
- $default_content_type
- -
Where the hook is called
woocommerce_email_content_type
woocommerce/includes/emails/class-wc-email.php 461
return apply_filters( 'woocommerce_email_content_type', $content_type, $this, $default_content_type );