• Hi

    Is there a filter with which I can exclude certain inline and enqueued scripts from optimization?

    Thanks
    Aleksandar

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author swte

    (@swte)

    You can simply exclude them in the settings: Optimization > Scripts > Exclude Scripts and Exclude Inline Scripts

    Alternatively you can move them to the footer with Footer Scripts and Footer Inline Scripts options.

    Thread Starter alekv

    (@alekv)

    I need to do it from within my plugin using a filter. Is there a filter your plugin provides for this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘filter to exclude inline and enqueued scripts from optimization?’ is closed to new replies.