Enqueue Javascript

<?php
//Enqueue Javascript
function init_my_script() {
wp_enqueue_script('my_script','/file_location_here/my_script.js');
}
add_action('init', init_my_script');

?>

0 Comments

You must be logged in to post a comment.