Function: LibSwiftyPluginView::lazy_load_js_min

Modified on: 2016-07-07 10:22:35 +0200


Load minified version of script on non development systems and add a bust parameter to the url.
Use ssd enqueue_script method when ssd is the active theme, otherwise use wp_enqueue_script
See wp_enqueue_script for description of parameters.

Example:
LibSwiftyPluginView::lazy_load_js_min( slider_view_js,
  plugin_dir_url( __FILE__ ) . slider_view.js, array( jquery, swc_jssor_js ), false, true );

Was dit antwoord nuttig? Ja Nee

Hoe kunnen we dit artikel verbeteren?