Hack to remove JS, CSS, jQuery out of Form 7?
-
hi,
I try to remove all of jQuery Library, scripts.js, CSS file to optimize my site for best speed.
Before I update the latest version, I hacked this lines:
if ( ! defined( ‘WPCF7_LOAD_JS’ ) ) {
define( ‘WPCF7_LOAD_JS’, false );
}if ( ! defined( ‘WPCF7_LOAD_CSS’ ) ) {
define( ‘WPCF7_LOAD_CSS’, false );
}So, could you add to your plugin which helps me turn off the default script?
thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Hack to remove JS, CSS, jQuery out of Form 7?’ is closed to new replies.