You appear to be a bot. Output may be restricted
Description
Determines the jQuery script file URL.This is only called if the jQuery is not already enqueued.
Usage
$string = bw_jquery_script( $script, $debug );
Parameters
- $script
- ( string ) required – the jquery script root.
- $debug
- ( bool ) optional – use debug or minified (packed) version.
Returns
string fully qualified script file URL or null.Source
File name: oik/shortcodes/oik-jquery.phpLines:
1 to 8 of 8
function bw_jquery_script( $script, $debug=false ) { if ( !$debug && defined('SCRIPT_DEBUG') && SCRIPT_DEBUG == true ) { $debug = true; } add_filter( "bw_jquery_script_url", "bw_jquery_script_url", 5, 3 ); $script_url = apply_filters( "bw_jquery_script_url", $script, $script, $debug ); return( $script_url ); }View on GitHub View on Trac