File: wp-includes/script-loader.php
-
functionwp_print_inline_script_tag()
Prints an inline script tag.
-
functionwp_sanitize_script_attributes()
Sanitizes an attributes array into an attributes string to be placed inside a “ tag.
-
functionwp_get_script_tag()
Formats “ loader tags.
-
Filters attributes to be added to a script tag.
-
functionwp_print_script_tag()
Prints formatted “ loader tag.
-
Checks if the editor scripts and styles for all registered block types should be enqueued on the current screen.
-
Filters the flag that decides whether or not block editor scripts and styles are going to be enqueued on the current screen.
-
Enqueues the assets required for the block directory within the block editor.
-
Function responsible for enqueuing the assets required for block styles functionality on the editor.
-
functionenqueue_block_styles_assets()
Function responsible for enqueuing the styles required for block styles functionality on the editor and on the frontend.
-
Handles the enqueueing of block scripts and styles that are common to both the editor and the front-end.
-
Fires after enqueuing block assets for both editor and front-end.
-
Enqueues registered block scripts and styles, depending on current rendered context (only enqueuing editor scripts while in context of the editor).
-
functionwp_get_script_polyfill()
Returns contents of an inline script used in appending polyfill scripts for browsers which fail the provided tests. The provided array is a mapping from a condition to verify feature support to its polyfill script handle.
-
functionwp_default_packages_scripts()
Registers all the WordPress packages scripts that are in the standardized `js/dist/` location.
-
Adds inline scripts required for the WordPress JavaScript packages.
-
functionwp_tinymce_inline_scripts()
Adds inline scripts required for the TinyMCE in the block editor.
-
functionwp_default_packages()
Registers all the WordPress packages scripts.
-
functionwp_scripts_get_suffix()
Returns the suffix that can be used for the scripts.
-
functionwp_register_tinymce_scripts()
Registers TinyMCE scripts.
-
functionwp_default_packages_vendor()
Registers all the WordPress vendor scripts that are in the standardized `js/dist/vendor/` location.
-
functionwp_localize_community_events()
Localizes community events data that needs to be passed to dashboard.js.
-
Localizes the jQuery UI datepicker.
-
hookmejs_settings
Filters the MediaElement configuration settings.
-
Loads localized data on print rather than initialization.
-
Fires when scripts and styles are enqueued.
-
functionwp_style_loader_src()
Administration Screen CSS for changing the styles.
-
functionprint_admin_styles()
Prints the styles queue in the HTML head on admin pages.
-
functionprint_head_scripts()
Prints the script queue in the HTML head on admin pages.
-
Filters whether to print the admin styles.