WordPress at a glance

script (tag)

wp_add_inline_script()

Adds extra code to a registered script.

wp_dequeue_script()

Remove a previously enqueued script.

wp_deregister_script()

Remove a registered script.

wp_enqueue_media()

Enqueues all scripts, styles, settings, and templates necessary to use all media JS APIs.

wp_enqueue_script()

Adds a script (JavaScript file) to the page.

wp_localize_script()

Localize a script. Works only if the script has already been added.

wp_register_script()

Register a new script.

wp_script_add_data()

Add metadata to a script.

wp_script_is()

Check whether a script has been added to the queue.