New and updated in 6.6.0
-
Returns the given theme global styles config.
Used by 0 functions | Uses 8 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:556 -
Prepares a single global styles config for update.
Used by 0 functions | Uses 5 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:238 -
Prepare a global styles config output for response.
Used by 0 functions | Uses 9 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:303 -
Get the link relations available for the post and current user.
Used by 1 function | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:421 -
Constructor.
Used by 1 function | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:29 -
Removes insecure data from theme.json.
-
Function that scopes a selector with another one. This works a bit like SCSS nesting except the `&` operator isn’t supported.
-
Gets preset values keyed by slugs based on settings and metadata.
-
Returns the theme’s data.
-
Checks if a given request has access to read templates.
Used by 0 functions | Uses 5 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:244 -
Checks if a given request has access to read a single template.
Used by 0 functions | Uses 5 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:306 -
Given a styles array, it extracts the style properties and adds them to the $declarations array following the format:
-
Builds metadata for the style nodes, which returns in the form of:
-
Constructor.
-
Sanitizes the input according to the schemas.
-
Returns the metadata for each block.
-
Returns the stylesheet that results of processing the theme.json structure this object represents.
-
Given a settings array, returns the generated rulesets for the preset classes.
-
Registers a block style for the given block type.
-
functionregister_block_style()
Registers a new block style.
-
Prepares a single theme output for response.
Used by 2 functions | Uses 14 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php:233 -
functionregister_setting()
Registers a setting and its data.
-
functionadd_theme_support()
Registers theme support for a given feature.
-
function_delete_attachment_theme_mod()
Checks an attachment being deleted to see if it’s a header or background image.
-
functionwp_login_form()
Provides a simple login form for use anywhere within WordPress.
-
functionsafecss_filter_attr()
Filters an inline style attribute and removes disallowed rules.
-
functionwp_kses_split()
Searches for HTML tags, no matter how malformed.