File: wp-includes/class-wp-scripts.php
-
Gets the highest fetch priority for a given script and all of its dependent scripts.
-
Gets a script-specific dependency warning message.
-
Checks if the provided fetchpriority is valid.
-
Checks whether all dependents of a given handle are in the footer.
-
methodWP_Scripts::add_data()
This overrides the add_data method from WP_Dependencies, to support normalizing of $args.
-
Gets all dependents of a script.
-
Checks if the strategy passed is a valid delayed (non-blocking) strategy.
-
Gets the best eligible loading strategy for a script.
-
Filter the list of eligible loading strategies for a script.
-
Gets data for inline scripts registered for a specific handle.
-
Gets data for inline scripts registered for a specific handle.
-
Gets unaliased dependencies.
-
Gets tags for inline scripts registered for a specific handle.
-
Sets a translation textdomain.
-
Prints translations set for a specific handle.
-
Prints inline scripts registered for a specific handle.
-
Adds extra code to a registered script.
-
Filters the HTML script tag of an enqueued script.
-
Processes items and dependencies for the head group.
-
Processes items and dependencies for the footer group.
-
Whether a handle’s source is in a default directory.
-
methodWP_Scripts::reset()
Resets class properties.
-
Fires when the WP_Scripts instance is initialized.
-
Prints scripts.
-
Prints extra scripts of a registered script.
-
Prints extra scripts of a registered script.
-
methodWP_Scripts::do_item()
Processes a script dependency.
-
Filters the script loader source.
-
methodWP_Scripts::localize()
Localizes a script, only if the script has already been added.
-
methodWP_Scripts::set_group()
Sets handle group.