You appear to be a bot. Output may be restricted
Description
Implement "bw_jquery_script_url" filter to locate the jquery.raty.js or jquery.raty.min.js file
Usage
$string = oikr8_jquery_script_url( $script_url, $script, $debug );
Parameters
- $script_url
- ( string ) required – the URL for the jQuery file
- $script
- ( string ) required – the script name
- $debug
- ( bool ) required – script debug flag
Returns
string the location of the jQuery raty file
Source
File name: oik-rating/includes/oik-rating.inc
Lines:
1 to 14 of 14
function oikr8_jquery_script_url( $script_url, $script, $debug ) { //bw_backtrace(); if ( $script == "raty" ) { $script_url = plugin_dir_url( __FILE__ ) ; $script_url .= "lib/"; if ( $debug ) { $script_url .= "jquery.raty.js"; } else { $script_url .= "jquery.raty.min.js"; } } //bw_trace2( $script_url, "script_url"); return( $script_url ); }