woocommerce_email_editor_render_start │ action-hook │ WC 2.9.2

Fires when rendering an email's content is about to start.

Usage

add_action( 'woocommerce_email_editor_render_start', 'wp_kama_woocommerce_email_editor_render_start_action' );

/**
 * Function for `woocommerce_email_editor_render_start` action-hook.
 * 
 * @return void
 */
function wp_kama_woocommerce_email_editor_render_start_action(){
	// action...
}

Changelog

Since 2.9.2 Introduced.

Where the hook is called

Content_Renderer::render_without_css_inline()
woocommerce_email_editor_render_start

Where the hook is used in WooCommerce

woocommerce/packages/email-editor/src/Integrations/Core/class-initializer.php 108
add_action( 'woocommerce_email_editor_render_start', array( $this, 'reset_renderers' ) );
woocommerce/src/Blocks/Domain/Bootstrap.php 138
add_action( 'woocommerce_email_editor_render_start', array( $this, 'handle_woocommerce_email_editor_render_start' ) );