defer loading of js to footer
-
thanks for the plugin.
Can i load these js in the footer.
<script src=’https://sato.local/wp-content/plugins/real-time-validation-for-gravity-forms/public/assets/js/livevalidation_standalone.js?ver=1.7.0′></script>
<script src=’https://sato.local/wp-content/plugins/real-time-validation-for-gravity-forms/public/assets/js/public.js?ver=1.7.0′></script>
<script src=’https://sato.local/wp-content/plugins/real-time-validation-for-gravity-forms/public/assets/js/default_validation.js?ver=1.7.0′></script>i see they are enqueued using
add_action(‘wp_enqueue_scripts’, array($this, ‘enqueue_styles’));
add_action(‘wp_enqueue_scripts’, array($this, ‘enqueue_scripts’));how do i go about dequeuing these scripts? (i dont see the id of the script which is making it hard to dequeue)
Any help is much appreciated. thank you.
- The topic ‘defer loading of js to footer’ is closed to new replies.