I have some scripts that I'm enqueueing like this:
wp_enqueue_script("jquery"); wp_enqueue_script("myscript" , get_template_directory_uri()."/js/myscript.js", Array('myscript'), " ");
I want to enqueue them in the footer, which means I should use the last parameter of
wp_enqueue_script(), but I don't always want to pass the other params.
wp_enqueue_script( $handle, $src, $deps, $ver, $in_footer);
How do I get to
$in_footer without messing up the default params in between it and
$handle? Can I just put empty strings for each?