@scott Wyden Kivowitz,
The truth:
The logic for our enqueue functions are an awful mess and no one has ever yelled loud enough about it for me to prioritize the refactoring.
It’s on my giant backlog of improvements, it’ll get solved eventually.
If you’re willing to take on the challenge and help me out head over to github, review our contributor’s guidelines, and submit a pull request.
I sleep at night knowing the WooCommerce loads a lot of stuff it doesn’t need all over the place at well and, well, they got bought for an absurd amount of dollars.
Take care,
My guess is it would be as simple as doing wp_dequeue_style and wp_dequeue_script’s when not on a Lifter page.
Does Lifter’s scripts need to run on WooCommerce pages too if that integration is used?
Just created a script and it is working nicely. Submitted to the Github: https://github.com/gocodebox/lifterlms/issues/146
@scott Wyden Kivowitz,
Thanks, moving the discussion to the github issue at https://github.com/gocodebox/lifterlms/issues/146 for anyone following along.
Take care,