InterviewSolution
Saved Bookmarks
| 1. |
What is wp_enqueue_script() function in WordPress? |
|
Answer» 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. |
|