• About WordPress
    • About WordPress
    • WordPress.org
    • Documentation
    • Support
    • Feedback
  • Log In
  • Register
WordPress.org
WordPress.org
  • Plugins
  • Themes
  • Patterns
  • Learn
  • Support
    • Documentation
    • Forums
  • News
  • About
  • Get Involved
    • Five for the Future
  • Showcase
  • Mobile
  • Hosting
  • Openverse
  • Get WordPress
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:571

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:597

Used by 1 function | Uses 2 functions

WP_Scripts::add_inline_script()

Method: Adds extra code to a registered script.

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

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:457

Used by 1 function | Uses 1 function

script_loader_tag

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

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

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:664

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:678

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:691

Used by 1 function | Uses 0 functions

WP_Scripts::reset()

Method: Resets class properties.

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

Used by 3 functions | Uses 0 functions

WP_Scripts::do_item()

Method: Processes a script dependency.

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

Used by 0 functions | Uses 12 functions

script_loader_src

Filter Hook: Filters the script loader source.

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

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:483

Used by 1 function | Uses 3 functions

WP_Scripts::set_group()

Method: Sets handle group.

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

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:640

Used by 0 functions | Uses 3 functions

WP_Scripts::__construct()

Method: Constructor.

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

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:650

Used by 1 function | Uses 0 functions

WP_Scripts::init()

Method: Initialize the class.

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

Used by 1 function | Uses 4 functions

wp_default_scripts

Action Hook: Fires when the WP_Scripts instance is initialized.

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

Used by 1 function | Uses 0 functions

WP_Scripts::print_scripts()

Method: Prints scripts.

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

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:204

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:220

Used by 2 functions | Uses 1 function
  • About
  • News
  • Hosting
  • Donate
  • Support
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org
  • Visit our Facebook page
  • Visit our Twitter account
Code is Poetry