You appear to be a bot. Output may be restricted
Description
Determine a potential source for a script file and whether or not it's a .pack or .min fileThe $plugins array indicates where the script might exist The $packormins array indicates if the minified script is called ".pack.js". or ".min.js" We default to ".pack" so only need to perform str_replace if it's not that.
Usage
bw_jquery_script_plugin_file( $script, $debug );
Parameters
- $script
- ( mixed ) required –
- $debug
- ( mixed ) required –
Returns
voidSource
File name: oik/shortcodes/oik-jquery.phpLines:
1 to 5 of 5
function bw_jquery_script_plugin_file( $script, $debug ) { $plugins = _bw_jquery_known_sources( $script ); $script_file = bw_jquery_pick_right_file( $plugins, $script, $debug ); return $script_file; }View on GitHub View on Trac