dev-master
9999999-devSkip scripts bundled in your WordPress theme.
GPL-3.0+
The Development Requires
0.1.0
0.1.0.0Skip scripts bundled in your WordPress theme.
GPL-3.0+
The Development Requires
Wallogit.com
2017 © Pedro Peláez
Skip scripts bundled in your WordPress theme.
Skip parsing of scripts bundled in your WordPress theme. This is useful when you bundle scripts (like jQuery) that are also used and added to the queue through wp_enqueue_script by WordPress plugins in one file., (*1)
composer require trendwerk/skip-bundled
$scripts = new \Trendwerk\SkipBundled\Scripts(); $scripts->init(); $scripts->add($handle);
Where $handle is the handle on which the script is registered in WordPress, by using wp_register_script., (*3)
An example for jQuery:, (*4)
$scripts = new \Trendwerk\SkipBundled\Scripts();
$scripts->init();
$scripts->add('jquery-core');
Note: jQuery is registered as jquery-core., (*5)
Skip scripts bundled in your WordPress theme.
GPL-3.0+
Skip scripts bundled in your WordPress theme.
GPL-3.0+