WordPress at a glance
Главная Functions Other Functions Scripts and Styles

Category: Scripts and Styles 18

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

Remove a registered script.

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

Enqueue a script. Registers the script if $src provided (does NOT overwrite), and enqueues it.

wp_enqueue_style()

Enqueue a CSS stylesheet.

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

Add metadata to a CSS stylesheet.

wp_style_is()

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