New and updated in 6.9.0
-
Marks a script module as compatible with client-side navigation.
Used by 0 functions | Uses 0 functions | Source: wp-includes/interactivity-api/class-wp-interactivity-api.php:430 -
Parse the directive name to extract the following parts: – Prefix: The main directive name without “data-wp-“.
Used by 2 functions | Uses 0 functions | Source: wp-includes/interactivity-api/class-wp-interactivity-api.php:769 -
Parse the HTML element and get all the valid directives with the given prefix.
Used by 6 functions | Uses 2 functions | Source: wp-includes/interactivity-api/class-wp-interactivity-api.php:882 -
Set client-side interactivity data.
Used by 0 functions | Uses 0 functions | Source: wp-includes/interactivity-api/class-wp-interactivity-api.php:264 -
Adds the `data-wp-router-options` attribute to script modules that support client-side navigation.
Used by 0 functions | Uses 1 function | Source: wp-includes/interactivity-api/class-wp-interactivity-api.php:403 -
functionwp_js_dataset_name()
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.
-
Enqueues the assets required for the Command Palette.
-
Adds hooks to load block styles on demand in classic themes.
-
functionwp_hoist_late_printed_styles()
Adds the hooks needed for CSS output to be delayed until after the content of the page has been established.
-
Retrieves the last changed cache timestamp for users and optionally posts.
-
Enqueues a CSS rule to fix potential visual issues with images using `sizes=auto`.
-
Fires when the template enhancement output buffer has started.
-
Finalizes the template enhancement output buffer.
-
Filters the template enhancement output buffer prior to sending to the client.
-
Fires after the template enhancement output buffer has been finalized.
-
Filters whether the template should be output-buffered for enhancement.
-
Starts the template enhancement output buffer.
-
Checks whether the template should be output buffered for enhancement.
-
Filters the arguments for PHPMailer’s addEmbeddedImage() method.
-
functionwp_create_initial_comment_meta()
Register initial note status meta.
-
Send a notification to the post author when a new note is added via the REST API.
-
Filters whether to enqueue assets for a block which has no rendered content.
-
hookpre_site_option
Filters the value of any existing network option before it is retrieved.
-
hookpre_post_insert
Fires immediately before a new post is inserted in the database.
-
Sorts the given script module identifiers based on their dependencies.
-
Recursively sorts the dependencies for a single script module identifier.
-
Gets all dependents of a script module.
-
Gets all recursive dependents of a script module.