woocommerce_email_editor_rendering_email_context
woocommerce_email_editor_rendering_email_context
Appears in: woocommerce.10.4.3, woocommerce.10.5.2, woocommerce.10.5.3, woocommerce.10.6.1, woocommerce.10.6.2, woocommerce.10.8.1, woocommerce.10.9.1, woocommerce.10.9.3, woocommerce.10.9.4
Hook Type: filter
See hook in action
Displaying hooks found in version: woocommerce.10.9.4apply_filters('woocommerce_email_editor_rendering_email_context') is found 1 times:
- /packages/email-editor/src/Engine/Renderer/ContentRenderer/class-content-renderer.php line 592
* } * @param WP_Post|null $post Email post being rendered. * @param WP_Block_Template|null $template Block template being rendered. */ $email_context = apply_filters( 'woocommerce_email_editor_rendering_email_context', array(), $post, $template ); if ( ! is_array( $email_context ) ) { $email_context = array(); } return new Rendering_Context( $this->theme_controller->get_theme(), $email_context, $language ); }