ClassicPress logo
Skip to content
Filter by type:

Browse:

  • Home
  • 6.5.0
  • Page 2

WP_Script_Modules::print_script_module_preloads()

Method: Prints the the static dependencies of the enqueued script modules using link tags with rel=”modulepreload” attributes.

Source: wp-includes/class-wp-script-modules.php:234

Used by 0 functions | Uses 3 functions

WP_Script_Modules::print_import_map()

Method: Prints the import map using a script tag with a type=”importmap” attribute.

Source: wp-includes/class-wp-script-modules.php:255

Used by 0 functions | Uses 2 functions

WP_Script_Modules::get_import_map()

Method: Returns the import map array.

Source: wp-includes/class-wp-script-modules.php:276

Used by 1 function | Uses 3 functions

WP_Script_Modules::get_marked_for_enqueue()

Method: Retrieves the list of script modules marked for enqueue.

Source: wp-includes/class-wp-script-modules.php:291

Used by 3 functions | Uses 0 functions

WP_Script_Modules::get_dependencies()

Method: Retrieves all the dependencies for the given script module identifiers, filtered by import types.

Source: wp-includes/class-wp-script-modules.php:317

Used by 3 functions | Uses 1 function

WP_Script_Modules::get_src()

Method: Gets the versioned URL for a script module src.

Source: wp-includes/class-wp-script-modules.php:349

Used by 3 functions | Uses 3 functions

script_module_loader_src

Filter Hook: Filters the script module source.

Source: wp-includes/class-wp-script-modules.php:371

Used by 1 function | Uses 0 functions

WP_Script_Modules

Class: Core class used to register script modules.

Source: wp-includes/class-wp-script-modules.php:16

Used by 0 functions | Uses 0 functions

WP_Script_Modules::register()

Method: Registers the script module if no script module with that script module identifier has already been registered.

Source: wp-includes/class-wp-script-modules.php:64

Used by 2 functions | Uses 0 functions

WP_Script_Modules::enqueue()

Method: Marks the script module to be enqueued in the page the next time `print_enqueued_script_modules` is called.

Source: wp-includes/class-wp-script-modules.php:132

Used by 1 function | Uses 1 function
« Previous 1 2 3 Next »
ClassicPress Documentation • Made with ClassicPress
Privacy Policy