WordPress.org

  • Showcase
  • Themes
  • Plugins
  • Mobile
  • Support
    • Documentation
    • Forums
  • Get Involved
  • About
  • Blog
  • Hosting
  • Get WordPress

Code Reference

Skip to content
Filter by type:
Search
Browse: Home / Reference / wp-includes/class.wp-scripts.php

WP_Scripts::set_translations()

Method: Sets a translation textdomain.

Source: wp-includes/class.wp-scripts.php:509

Used by 1 function | Uses 0 functions

WP_Scripts::print_translations()

Method: Prints translations set for a specific handle.

Source: wp-includes/class.wp-scripts.php:534

Used by 1 function | Uses 1 function

WP_Scripts::add_inline_script()

Method: Adds extra code to a registered script.

Source: wp-includes/class.wp-scripts.php:386

Used by 2 functions | Uses 0 functions

WP_Scripts::print_inline_script()

Method: Prints inline scripts registered for a specific handle.

Source: wp-includes/class.wp-scripts.php:413

Used by 1 function | Uses 0 functions

script_loader_tag

Filter Hook: Filters the HTML script tag of an enqueued script.

Source: wp-includes/class.wp-scripts.php:364

Used by 1 function | Uses 0 functions

WP_Scripts::do_head_items()

Method: Processes items and dependencies for the head group.

Source: wp-includes/class.wp-scripts.php:600

Used by 1 function | Uses 0 functions

WP_Scripts::do_footer_items()

Method: Processes items and dependencies for the footer group.

Source: wp-includes/class.wp-scripts.php:614

Used by 1 function | Uses 0 functions

WP_Scripts::in_default_dir()

Method: Whether a handle’s source is in a default directory.

Source: wp-includes/class.wp-scripts.php:627

Used by 1 function | Uses 0 functions

WP_Scripts::reset()

Method: Resets class properties.

Source: wp-includes/class.wp-scripts.php:649

Used by 3 functions | Uses 0 functions

WP_Scripts::init()

Method: Initialize the class.

Source: wp-includes/class.wp-scripts.php:140

Used by 1 function | Uses 2 functions

wp_default_scripts

Action Hook: Fires when the WP_Scripts instance is initialized.

Source: wp-includes/class.wp-scripts.php:148

Used by 1 function | Uses 0 functions

WP_Scripts::print_scripts()

Method: Prints scripts.

Source: wp-includes/class.wp-scripts.php:165

Used by 0 functions | Uses 0 functions

WP_Scripts::print_scripts_l10n()

Method: Prints extra scripts of a registered script.

Source: wp-includes/class.wp-scripts.php:183

Used by 0 functions | Uses 2 functions

WP_Scripts::print_extra_script()

Method: Prints extra scripts of a registered script.

Source: wp-includes/class.wp-scripts.php:198

Used by 2 functions | Uses 0 functions

WP_Scripts::do_item()

Method: Processes a script dependency.

Source: wp-includes/class.wp-scripts.php:228

Used by 0 functions | Uses 11 functions

script_loader_src

Filter Hook: Filters the script loader source.

Source: wp-includes/class.wp-scripts.php:289

Used by 2 functions | Uses 0 functions

WP_Scripts::localize()

Method: Localizes a script, only if the script has already been added.

Source: wp-includes/class.wp-scripts.php:439

Used by 1 function | Uses 1 function

WP_Scripts::set_group()

Method: Sets handle group.

Source: wp-includes/class.wp-scripts.php:484

Used by 0 functions | Uses 1 function

WP_Scripts

Class: Core class used to register scripts.

Source: wp-includes/class.wp-scripts.php:18

Used by 0 functions | Uses 1 function

WP_Scripts::all_deps()

Method: Determines script dependencies.

Source: wp-includes/class.wp-scripts.php:576

Used by 0 functions | Uses 3 functions

WP_Scripts::__construct()

Method: Constructor.

Source: wp-includes/class.wp-scripts.php:130

Used by 1 function | Uses 2 functions

print_scripts_array

Filter Hook: Filters the list of script dependencies left to print.

Source: wp-includes/class.wp-scripts.php:586

Used by 1 function | Uses 0 functions
  • About
  • Blog
  • Hosting
  • Donate
  • Support
  • Developers
  • Get Involved
  • Showcase
  • Plugins
  • Themes
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
  • @WordPress
  • WordPress

Code is Poetry.

Skip to toolbar
  • About WordPress
    • About WordPress
    • WordPress.org
    • Documentation
    • Support
    • Feedback
  • Log In
  • Register