Loading JavaSCript only when necessary no longer works
-
First, thanks for the great plugin. Your website’s FAQ provides instructions for loading the CF7 javascript and css on demand here:
http://contactform7.com/loading-javascript-and-stylesheet-only-when-it-is-necessary/This method appears to no longer work since upgrading from v3.8.1 to v3.9. The JavaScript and CSS files remain removed.
I see you’ve added two new filter that supplies this functionality, that appears to work with the following code:
add_filter('wpcf7_load_js', '__return_true'); add_filter('wpcf7_load_css', '__return_true');I just wanted to provide an FYI as your website’s FAQ still references the old method.
Thanks.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Loading JavaSCript only when necessary no longer works’ is closed to new replies.