woocommerce_email_block_template_html

woocommerce_email_block_template_html

Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.10.9.1

apply_filters('woocommerce_email_block_template_html') is found 1 times:

  • /src/Internal/EmailEditor/WCTransactionalEmails/WCTransactionalEmailPostsGenerator.php line 225
    		 * @param string    $template_html The email template HTML.
    		 * @param \WC_Email $email The email object.
    		 * @since 10.7.0
    		 */
    		$filtered_template_html = apply_filters( 'woocommerce_email_block_template_html', $template_html, $email );
    
    		return is_string( $filtered_template_html ) ? $filtered_template_html : $template_html;
    	}
    
    	/**
    	 * Generate initial email templates.