woocommerce_email_editor_rendering_email_context

woocommerce_email_editor_rendering_email_context

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.10.8.1

apply_filters('woocommerce_email_editor_rendering_email_context') is found 1 times:

  • /packages/email-editor/src/Engine/Renderer/ContentRenderer/class-content-renderer.php line 370
    		 *     @type int    $order_id        The order ID (for order-related emails).
    		 *     @type string $email_type      The type of email being rendered.
    		 * }
    		 */
    		$email_context = apply_filters( 'woocommerce_email_editor_rendering_email_context', array() );
    
    		$context = new Rendering_Context( $this->theme_controller->get_theme(), $email_context );
    
    		$block_type = $this->block_type_registry->get_registered( $parsed_block['blockName'] );
    		$result     = null;
    		try {
    

See this hook used in plugins: