Skip to content

Instantly share code, notes, and snippets.

@j-gardner
Last active December 22, 2015 12:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save j-gardner/6475718 to your computer and use it in GitHub Desktop.
Save j-gardner/6475718 to your computer and use it in GitHub Desktop.
Change the jQuery Tools script url and version
<?php // DO NOT include the opening php tag
add_filter( 'arconix_jquerytools_reg', 'my_jquerytools_reg' );
function my_jquerytools_reg( $args ) {
$args['url'] = 'http://cdn.jquerytools.org/1.2.6/tiny/jquery.tools.min.js';
$args['ver'] = '1.2.6';
return $args;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment