mailpoet_email_content_renderer_styles

mailpoet_email_content_renderer_styles

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('mailpoet_email_content_renderer_styles') is found 1 times:

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

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

    Warning: Undefined array key 239 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( 'mailpoet_email_content_renderer_styles', $styles, $post ) ) . '</style>';
    
    		return $this->css_inliner->from_html( $styles . $html )->inline_css()->render();
    	}
    }