woocommerce_email_format_string

woocommerce_email_format_string

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_email_format_string') is found 1 times:

  • /includes/emails/class-wc-email.php line 328
    		 * Filter for main find/replace.
    		 *
    		 * @since 3.2.0
    		 */
    		return apply_filters( 'woocommerce_email_format_string', str_replace( $find, $replace, $string ), $this );
    	}
    
    	/**
    	 * Set the locale to the store locale for customer emails to make sure emails are in the store language.
    	 */
    	public function setup_locale() {