Viewing 1 replies (of 1 total)
  • Plugin Contributor Yordan Soares

    (@yordansoares)

    Hi @bambootb:

    Our default PDF engine (dompdf) is a bit strict with the media sources, when they come for a different domain, producing sometimes SSL issues. Please try adding this code snippet and check if the issue is solved:

    add_filter( 'wpo_wcpdf_get_html', function( $html, $document ) {
    	$html = str_replace( 'https://', 'https://', $html);
    	return $html;
    }, 10, 2);

    This code snippet convert any URL from https:// to https://to bypass SSL check.

    Let us know if it worked!

Viewing 1 replies (of 1 total)
  • The topic ‘PDF can’t print image when using WP offload image and remove from local’ is closed to new replies.