Conditionally load ScrapeAZon?
-
Hey,
I’m interested in using ScrapeAZon alongside my EDD store. I’m concerned with site performance, so I usually load all my assets conditionally according to the best practices.
Seeing as I only plan to use the plugin on my edd custom post type pages there’s no point in loading the assets on all my other 1000+ posts/pages (similar to what cf7 offers: https://contactform7.com/loading-javascript-and-stylesheet-only-when-it-is-necessary/)
Is there a way I can hook the assets to dequeu and only enqueu on the pages that use the plugin? If you give me the hooks for the css/js it should be more than enough.
Warm Regards,
Matt
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Conditionally load ScrapeAZon?’ is closed to new replies.