What is wp_enqueue_script() function in WordPress?
In order to include JavaScript file in WordPress, a special function can be used namely wp_enqueue_script (). In WordPress, the preliminary goal of wp_enqueue_script () is to add a JavaScript file which is one of the WordPress action hooks. In order to use the wp_enqueue_script (), users should need to add JavaScript to each page on the WordPress site.
BY Best Interview Question ON 06 May 2020