woocommerce_email_editor_render_start
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
woocommerce_email_editor_render_start
woocommerce/packages/email-editor/src/Engine/Renderer/ContentRenderer/class-content-renderer.php 247
do_action( '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' ) );