Review code on forcing CF7 scripts enqueue
-
Hi guys,
first, congrats on your great job!!This is the first time that I’m using the plugin, and I have a specific suggestion that affects the workaround when using it with CF7.
I noticed a function called “preload()” in the PUM_CF7_Integration class. It forces the CF7 assets to be enqueued, eve I define in the wp-config that I don’t want to.
Why not include a condition in this function, to start reading the constant defined in wp-config and only force the enqueue if nothing was disabled?
In my case, I’ll need to include this condition manually, editing the plugin because it’s forcing something I really don’t want to.
Thanks!
- The topic ‘Review code on forcing CF7 scripts enqueue’ is closed to new replies.