New and updated in 5.6.0
-
Notifies the Multisite network administrator that a new site was created.
-
Filters whether to send an email to the Multisite network administrator when a new site is created.
-
hooknew_site_email
Filters the content of the email sent to the Multisite network administrator when a new site is created.
-
Generates an array of HTML attributes, such as classes, by applying to the given block all of the features that the block supports.
-
Registers the block attributes required by the different block supports.
-
functionget_block_wrapper_attributes()
Generates a string of attributes by applying to the current block being rendered all of the features that the block supports.
-
classWP_Block_Supports
Class encapsulating and implementing Block Supports.
-
Utility method to retrieve the main instance of the class.
-
Initializes the block supports. It registers the block supports block attributes.
-
Registers a block support.
-
functionwp_is_json_media_type()
Checks whether a string is a valid JSON Media Type.
-
Fires when `is_wp_error()` is called and its parameter is an instance of `WP_Error`.
-
Populates the Basic Auth server details from the Authorization header.
-
Gets the maximum number of requests that can be included in a batch.
-
Filters the maximum number of REST API requests that can be included in a batch.
-
Serves the batch/v1 request.
Used by 0 functions | Uses 12 functions | Source: wp-includes/rest-api/class-wp-rest-server.php:1717 -
Matches a request object to its handler.
-
Dispatches the request to the callback handler.
-
Loads the admin textdomain for Site Health tests.
Used by 7 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php:335 -
Gets the schema for each site health test.
Used by 0 functions | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php:350 -
Validates if the current user can request this REST endpoint.
Used by 1 function | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php:188 -
Filters the capability needed to run a given Site Health check.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php:199 -
Checks if background updates work as expected.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php:211 -
Checks that the site can reach the WordPress.org API.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php:223 -
Checks that loopbacks can be performed.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php:235 -
Checks that the authorization header is valid.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php:259 -
Gets the current directory sizes for this install.
Used by 0 functions | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php:283 -
Core class for interacting with Site Health tests.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php:17 -
Site Health controller constructor.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php:35