woocommerce_email_format_string_find filter-hookWC 1.0

Usage

add_filter( 'woocommerce_email_format_string_find', 'wp_kama_woocommerce_email_format_string_find_filter', 10, 2 );

/**
 * Function for `woocommerce_email_format_string_find` filter-hook.
 * 
 * @param  $legacy_find 
 * @param  $that        
 *
 * @return 
 */
function wp_kama_woocommerce_email_format_string_find_filter( $legacy_find, $that ){

	// filter...
	return $legacy_find;
}
$legacy_find
-
$that
-

Where the hook is called

WC_Email::format_string()
woocommerce_email_format_string_find
woocommerce/includes/emails/class-wc-email.php 320
$string = str_replace( apply_filters( 'woocommerce_email_format_string_find', $legacy_find, $this ), apply_filters( 'woocommerce_email_format_string_replace', $legacy_replace, $this ), $string );

Where the hook is used in WooCommerce

Usage not found.