_bw_jquery_known_sources() – Return an array of known sources for particular jQuery scripts

You appear to be a bot. Output may be restricted

Description

Returns an array of known sources for particular jQuery scripts.

This list now only includes the directory for oik's jQuery files. Remember, this code is only being invoked since the jQuery script isn't already registered.

Usage

_bw_jquery_known_sources( $script );

Parameters

$script
( string ) required – the base name of the jQuery script. cycle and cycle.all are basically the same script but with different names

Returns

void

Source

File name: oik/shortcodes/oik-jquery.php
Lines:

1 to 7 of 7
function _bw_jquery_known_sources( $script ) {
  //$plugins = array( "cycle" => "jetpack/modules/shortcodes,tb-testimonials,picasaweb-photo-slide"
  //                , "cycle.all" => "nextgen-gallery"
  //                );
  $plugins = [ '/oik/shortcodes/jquery/' ];
  return( $plugins );
}  
 

 View on Trac