How can I add my script files to the very top in the wp_head?
From this guide, using the code below will always add my new script file to the very bottom:
add_action('wp_head','hook_javascript');
function hook_javascript() {
$output="<script> alert('Page is loading...'); </script>";
echo $output;
}
Any ideas how I can move my new script files to the top?