wp-includes/script-loader.php | Developer.WordPress.org
-
Removes the current token.
-
Adds the hooks needed for CSS output to be delayed until after the content of the page has been established.
-
Return the corresponding JavaScript `dataset` name for an attribute if it represents a custom data attribute, or `null` if not.
-
Returns a corresponding HTML attribute name for the given name, if that name were found in a JS element’s `dataset` property.
-
Gets the span for the current token.
-
Inserts text before the current token.
-
Inserts text after the current token.
-
Enqueues the assets required for the Command Palette.
-
Adds hooks to load block styles on demand in classic themes.
-
Filters the array of field name attributes for bulk actions.
-
Checks whether block styles should be loaded only on-render.
-
Filters whether block styles should be loaded on demand.
-
Removes leading and trailing _empty_ script tags.
-
Loads classic theme styles on classic themes in the frontend.
-
Fetches, processes and compiles stored core styles, then combines and renders them to the page.
-
Applies a filter to the list of style nodes that comes from WP_Theme_JSON::get_style_nodes().
-
Hooks inline styles in the proper place, depending on the active theme.
-
Registers development scripts that integrate with `@wordpress/scripts`.
-
Makes URLs relative to the WordPress installation.
-
Function that enqueues the CSS Custom Properties coming from theme.json.
-
Enqueues a stylesheet for a specific block.
-
Allows small styles to be inlined.
-
The maximum size of inlined styles in bytes.
-
Enqueues the assets required for the format library within the block editor.
-
Enqueues the global styles defined via theme.json.
-
Checks whether separate styles should be loaded for core blocks.
-
Filters whether block styles should be loaded separately.
-
Constructs an inline script tag.
-
Filters attributes to be added to a script tag.