woocommerce_email_editor_render_start │ хук-событие │ WC 2.9.2

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

Использование

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...
}

Список изменений

С версии 2.9.2 Введена.

Где вызывается хук

Content_Renderer::render_without_css_inline()
woocommerce_email_editor_render_start

Где используется хук в 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' ) );