New and updated in 6.1.0
-
functionwp_render_duotone_support()
Renders out the duotone stylesheet and SVG.
-
functionwp_get_duotone_filter_property()
Returns the CSS filter property url to reference the rendered SVG.
-
Registers the user meta property for persisted preferences.
-
Filters the query arguments for the list of all users of the site.
-
methodWP_Block_Type::__set()
Proxies setting values for deprecated properties for script and style handles for backward compatibility.
-
methodWP_Block_Type::__get()
Proxies getting values for deprecated properties for script and style handles for backward compatibility.
-
methodWP_Block_Type::__isset()
Proxies checking for deprecated properties for script and style handles for backward compatibility.
-
functionwp_img_tag_add_decoding_attr()
Adds `decoding` attribute to an `img` HTML tag.
-
Filters the `decoding` attribute value to add to an image. Default `async`.
-
hookpre_option
Filters the value of all existing options before it is retrieved.
-
functiondid_filter()
Retrieves the number of times a filter has been applied during the current request.
-
Constructor.
-
Updates the theme.json with the the given data.
-
Returns an array containing the underlying data following the theme.json specification.
-
Generates cache key.
-
functionwp_cache_flush_group()
Removes all cache items in a group, if the object cache implementation supports it.
-
functionwp_cache_supports()
Determines whether the object cache implementation supports a particular feature.
-
Sets the spacingSizes array based on the spacingScale values from theme.json.
-
Gets the CSS rules for a particular block from theme.json.
-
Outputs the CSS for layout rules on the root.
-
A public helper to get the block nodes from a theme.json file.
-
An internal method to get the block nodes from a theme.json file.
-
Filters the list of style nodes with metadata.
-
Gets the CSS layout rules for a particular block from theme.json layout definitions.
-
Returns a class name by an element name.
-
Filters the arguments for posts pagination links.
-
Filters whether the admin is notified of a new user registration.
-
Filters whether the user is notified of their new user registration.
-
Loads classic theme styles on classic themes in the frontend.