woocommerce_email_setup_locale filter-hook . WC 1.0
Set the locale to the store locale for customer emails to make sure emails are in the store language.
Usage
add_filter( 'woocommerce_email_setup_locale', 'filter_function_name_2856' ); function filter_function_name_2856( $true ){ // filter... return $true; }
- $true
- -
Where the hook is called
woocommerce_email_setup_locale
woocommerce/includes/emails/class-wc-email.php 317
if ( $this->is_customer_email() && apply_filters( 'woocommerce_email_setup_locale', true ) ) {