mailpoet_email_editor_initialized action-hookWC 1.0

Initialize the email editor.

Usage

add_action( 'mailpoet_email_editor_initialized', 'wp_kama_mailpoet_email_editor_initialized_action' );

/**
 * Function for `mailpoet_email_editor_initialized` action-hook.
 * 
 * @return void
 */
function wp_kama_mailpoet_email_editor_initialized_action(){

	// action...
}

Where the hook is called

Email_Editor::initialize()
mailpoet_email_editor_initialized
woocommerce/packages/email-editor/src/Engine/class-email-editor.php 87
do_action( 'mailpoet_email_editor_initialized' );

Where the hook is used in WooCommerce

woocommerce/packages/email-editor/src/Bootstrap.php 30
add_filter('mailpoet_email_editor_initialized', [