ClassicPress logo
Skip to content
Filter by type:

Browse:

  • Home
  • wp-includes/class-wp-script-modules.php

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::deregister()

Method: Removes a registered script module.

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

Used by 1 function | Uses 0 functions

WP_Script_Modules::add_hooks()

Method: Adds the hooks to print the import map, enqueued script modules and script module preloads.

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

Used by 0 functions | Uses 1 function

WP_Script_Modules::print_enqueued_script_modules()

Method: Prints the enqueued script modules using script tags with type=”module” attributes.

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

Used by 0 functions | Uses 3 functions
1 2 Next »
ClassicPress Documentation • Made with ClassicPress
Privacy Policy