- queue_js_url($url, $options = array())¶
The script link will appear in the head element. This needs to be called either before head() or in a plugin_header hook.
- $url –
- $options (array) – An array of options.
<?php queue_js_url('//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js'); ?> <?php head_js(); ?>