woocommerce_email_content_renderer_styles

woocommerce_email_content_renderer_styles

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.9.5

apply_filters('woocommerce_email_content_renderer_styles') is found 1 times:

  • /packages/email-editor/src/Engine/Renderer/ContentRenderer/class-content-renderer.php line 279

    Warning: Undefined array key 283 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 284 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    		 * var_dump($styles);
    		 * echo '</pre>';
    		 */
    
    		$styles = '<style>' . wp_strip_all_tags( (string) apply_filters( 'woocommerce_email_content_renderer_styles', $styles, $post ) ) . '</style>';
    
    		return $this->css_inliner->from_html( $styles . $html )->inline_css()->render();
    	}
    }