You appear to be a bot. Output may be restricted
Description
Default jQuery script file filter.We try to find the script URL ourselves.
Usage
$string = bw_jquery_script_url( $script_url, $script, $debug );
Parameters
- $script_url
- ( string ) required – Starts out as the script name
- $script
- ( string ) required – The script name, excluding jquery. prefix
- $debug
- ( bool ) required – true when we want to load a debuggable version
Returns
string The string URL or nullSource
File name: oik/shortcodes/oik-jquery.phpLines:
1 to 10 of 10
function bw_jquery_script_url( $script_url, $script, $debug ) { $script_path = bw_jquery_script_plugin_file( $script, $debug ); if ( $script_path ) { $script_url = plugin_dir_url( $script_path ) . basename( $script_path ); } else { $script_url = null; } bw_trace2( $script_url, "script_url", true, BW_TRACE_VERBOSE ); return $script_url; }View on GitHub View on Trac