WordPress at Your Fingertips
filter is not described

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.


add_filter( 'woocommerce_email_setup_locale', 'filter_function_name_2668' );
function filter_function_name_2668( $true ){
	// filter...

	return $true;

Where the hook is called

woocommerce/includes/emails/class-wc-email.php 317
if ( $this->is_customer_email() && apply_filters( 'woocommerce_email_setup_locale', true ) ) {

Where in WP core the hook is used WooCommerce

Usage not found.