WordPress Developer Ukraine, Dnipro
Async or defer for script tag in WordPress

Async or defer for script tag in WordPress

Using function wp_enqueue_script for add scripts in WordPress does not allow to indicating attributes of a script such as async defer etc. Here, we describe how resolve this problem and also use wp_enqueue_script for enqueue of jQuery, Bootstrap by using CDN.