• About WordPress
    • About WordPress
    • WordPress.org
    • Documentation
    • Support
    • Feedback
  • Log In
  • Register

WordPress.org

  • Showcase
  • Learn
  • Themes
  • Plugins
  • Mobile
  • Support
    • Documentation
    • Forums
  • Get Involved
    • Five for the Future
  • 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:548

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

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

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

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

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

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

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

Used by 1 function | Uses 0 functions

WP_Scripts::reset()

Method: Resets class properties.

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

Used by 3 functions | Uses 0 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:628

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

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

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

Used by 1 function | Uses 1 function

WP_Scripts::set_group()

Method: Sets handle group.

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

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

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

Code is Poetry.