mailpoet_blocks_renderer_initialized
Usage
add_action( 'mailpoet_blocks_renderer_initialized', 'wp_kama_mailpoet_blocks_renderer_initialized_action' ); /** * Function for `mailpoet_blocks_renderer_initialized` action-hook. * * @param $blocks_registry * * @return void */ function wp_kama_mailpoet_blocks_renderer_initialized_action( $blocks_registry ){ // action... }
- $blocks_registry
- -
Where the hook is called
mailpoet_blocks_renderer_initialized
woocommerce/packages/email-editor/src/Engine/Renderer/ContentRenderer/class-content-renderer.php 91
do_action( 'mailpoet_blocks_renderer_initialized', $this->blocks_registry );
Where the hook is used in WooCommerce
woocommerce/packages/email-editor/src/Integrations/Core/class-initializer.php 22
add_action( 'mailpoet_blocks_renderer_initialized', array( $this, 'register_core_blocks_renderers' ), 10, 1 );