Scripts and Styles (category)

add_editor_style()

Links (connect) specified stylesheets CSS file to the TinyMCE visual editor.

wp_add_inline_script()

Adds extra code to a registered script.

wp_add_inline_style()

Add extra CSS styles to a registered stylesheet.

wp_dequeue_script()

Remove a previously enqueued script.

wp_dequeue_style()

Remove a previously enqueued CSS stylesheet.

wp_deregister_script()

Remove a registered script.

wp_deregister_style()

Remove a registered stylesheet.

wp_enqueue_code_editor()

Enqueue assets needed by the code editor for the given settings.

wp_enqueue_editor()

Outputs the editor scripts, stylesheets, and default settings.

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_enqueue_style()

Adds a CSS stylesheet file to the page. Also registers the stylesheet file if it wasn't registered.

wp_get_custom_css()

Fetches the CSS code from the Theme Customizer settings. The CSS will be retrieved as it is: without a <style> pane.

wp_localize_jquery_ui_datepicker()

Localizes the jQuery UI datepicker.

wp_localize_script()

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

wp_register_script()

Register a new script.

wp_register_style()

Register a CSS stylesheet.

wp_resource_hints()

Prints resource hints to browsers for pre-fetching, pre-rendering and pre-connecting to web sites.

wp_script_add_data()

Add metadata to a script.

wp_script_is()

Check whether a script has been added to the queue.

wp_style_add_data()

Adds metadata to a CSS stylesheet file that has been added with wp_enqueue_style() function. Use it, for example, to make a stylesheet file work only with certain versions of IE browsers.

wp_style_is()

Check whether a CSS stylesheet has been added to the queue.