WordPress at Your Fingertips
filter is not described

woocommerce_email_format_string filter-hook . WC 3.2.0

Filter for main find/replace.

Usage

add_filter( 'woocommerce_email_format_string', 'filter_function_name_6523', 10, 2 );
function filter_function_name_6523( $str_replace, $that ){
	// filter...

	return $str_replace;
}
$str_replace
-
$that
-

Changelog

Since 3.2.0 Introduced.

Where the hook is called

WC_Email::format_string()
woocommerce_email_format_string
woocommerce/includes/emails/class-wc-email.php 310
return apply_filters( 'woocommerce_email_format_string', str_replace( $find, $replace, $string ), $this );

Where in WP core the hook is used WooCommerce

Usage not found.