woocommerce_emogrifier, $css_inliner, $this
woocommerce_emogrifier, $css_inliner, $this
Appears in: woocommerce.11.0.0
Hook Type: action
Displaying hooks found in version: woocommerce.11.0.0do_action('woocommerce_emogrifier, $css_inliner, $this') is found 1 times:
- /includes/emails/class-wc-email.php line 953
* * @param CssInliner $css_inliner CssInliner instance. * @param WC_Email $email WC_Email instance. */ do_action( 'woocommerce_emogrifier', $css_inliner, $this ); $dom_document = $css_inliner->getDomDocument(); // When the email is rendered in the block editor, we don't want to remove the elements with display: none. // The main reason is using preview text in the email body which is hidden by default. if ( ! $this->block_email_editor_enabled ) {