Last active
October 13, 2015 02:08
-
-
Save j-gardner/4122635 to your computer and use it in GitHub Desktop.
Add script registration filter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php // DO NOT include the opening php tag | |
add_filter( 'arconix_flexslider_reg', 'my_flexslider_args' ); | |
function my_flexslider_args( $args ) { | |
$args['url'] = get_stylesheet_directory_uri() . '/jquery.flexslider-min.js'; | |
$args['ver'] = '2.0'; | |
return $args; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment