Enqueue

Basic

Enqueue is the process of how WordPress loads Scripts and Styles for your plugin. It could be a piece of JavaScript that is required on an certain admin page or on every post. To enqueue you must supply a Source and a Name. The Source takes a URL. To use a relative path from resources/assets folder we wrap with the Helper::assetUrl() function.