Support » Plugin: SG Optimizer » Hooks to bypass minify HTML

  • Resolved Paul Menard

    (@pmenard)


    Greetings,

    I’m a plugin author and have a customer on SiteGround hosting with the SG Optimizer plugin installed. version 5.1.0.

    My plugin generated a Certificate PDF document from various data on the site like name, title, score, grades, etc. As part of the functionality, the admin can set a background image. To handle this PDF output the plugin use a library TCPdf. It’s old but seems to work fine for our needs.

    I’ve noticed when the SG Optimizer > Minify the HTML Output option is enabled the background image, a simple JPG, does not render at all. The data elements like name, title, score etc. do render as expected. Disabling the option will show the background as expected.

    So my question is are there plans to add some WP style filters where programmatically the options from your plugin can be overridden when needed. Unless I’m missing something I don’t see a way to turn this minify HTML option off just for the PDF URL requests.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.