Move frontend JS to footer
-
For performance reasons, would it be much of a problem moving the frontend JS (
jquery.maskedinput.js
) to the footer by adding a fifth parameter towp_register_script
like:wp_register_script( 'jquery-masking', plugins_url( "js/jquery.maskedinput{$min}.js", __FILE__ ), array( 'jquery' ), ACF_VF_VERSION, true );
?
Cheers!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Move frontend JS to footer’ is closed to new replies.