Title: 5.6.0 | Developer.WordPress.org

---

# New and updated in 5.6.0

Functions

Hooks

Classes

Methods

 * hook[wp_authorize_application_password_form_approved_no_js](https://developer.wordpress.org/reference/hooks/wp_authorize_application_password_form_approved_no_js/)
 * Fires in the Authorize Application Password new password section in the no-JS
   version.
 * Used by [0 functions](https://developer.wordpress.org/reference/hooks/wp_authorize_application_password_form_approved_no_js/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/wp_authorize_application_password_form_approved_no_js/#uses)
   | Source: [wp-admin/authorize-application.php:236](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-admin/authorize-application.php#L236-L236)
 * function[wpmu_new_site_admin_notification()](https://developer.wordpress.org/reference/functions/wpmu_new_site_admin_notification/)
 * Notifies the Multisite network administrator that a new site was created.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/wpmu_new_site_admin_notification/#used-by)
   | Uses [16 functions](https://developer.wordpress.org/reference/functions/wpmu_new_site_admin_notification/#uses)
   | Source: [wp-includes/ms-functions.php:1780](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/ms-functions.php#L1780-L1879)
 * hook[send_new_site_email](https://developer.wordpress.org/reference/hooks/send_new_site_email/)
 * Filters whether to send an email to the Multisite network administrator when 
   a new site is created.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/send_new_site_email/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/send_new_site_email/#uses)
   | Source: [wp-includes/ms-functions.php:1800](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/ms-functions.php#L1800-L1800)
 * hook[new_site_email](https://developer.wordpress.org/reference/hooks/new_site_email/)
 * Filters the content of the email sent to the Multisite network administrator 
   when a new site is created.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/new_site_email/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/new_site_email/#uses)
   | Source: [wp-includes/ms-functions.php:1865](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/ms-functions.php#L1865-L1865)
 * function[get_block_wrapper_attributes()](https://developer.wordpress.org/reference/functions/get_block_wrapper_attributes/)
 * Generates a string of attributes by applying to the current block being rendered
   all of the features that the block supports.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/get_block_wrapper_attributes/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/functions/get_block_wrapper_attributes/#uses)
   | Source: [wp-includes/class-wp-block-supports.php:203](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/class-wp-block-supports.php#L203-L269)
 * class[WP_Block_Supports](https://developer.wordpress.org/reference/classes/wp_block_supports/)
 * Class encapsulating and implementing Block Supports.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_block_supports/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wp_block_supports/#uses)
   | Source: [wp-includes/class-wp-block-supports.php:20](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/class-wp-block-supports.php#L20-L192)
 * method[WP_Block_Supports::get_instance()](https://developer.wordpress.org/reference/classes/wp_block_supports/get_instance/)
 * Utility method to retrieve the main instance of the class.
 * Used by [2 functions](https://developer.wordpress.org/reference/classes/wp_block_supports/get_instance/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wp_block_supports/get_instance/#uses)
   | Source: [wp-includes/class-wp-block-supports.php:62](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/class-wp-block-supports.php#L62-L68)
 * method[WP_Block_Supports::init()](https://developer.wordpress.org/reference/classes/wp_block_supports/init/)
 * Initializes the block supports. It registers the block supports block attributes.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_block_supports/init/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/classes/wp_block_supports/init/#uses)
   | Source: [wp-includes/class-wp-block-supports.php:77](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/class-wp-block-supports.php#L77-L80)
 * method[WP_Block_Supports::register()](https://developer.wordpress.org/reference/classes/wp_block_supports/register/)
 * Registers a block support.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_block_supports/register/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wp_block_supports/register/#uses)
   | Source: [wp-includes/class-wp-block-supports.php:99](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/class-wp-block-supports.php#L99-L104)
 * method[WP_Block_Supports::apply_block_supports()](https://developer.wordpress.org/reference/classes/wp_block_supports/apply_block_supports/)
 * Generates an array of HTML attributes, such as classes, by applying to the given
   block all of the features that the block supports.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_block_supports/apply_block_supports/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/classes/wp_block_supports/apply_block_supports/#uses)
   | Source: [wp-includes/class-wp-block-supports.php:114](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/class-wp-block-supports.php#L114-L160)
 * method[WP_Block_Supports::register_attributes()](https://developer.wordpress.org/reference/classes/wp_block_supports/register_attributes/)
 * Registers the block attributes required by the different block supports.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_block_supports/register_attributes/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/classes/wp_block_supports/register_attributes/#uses)
   | Source: [wp-includes/class-wp-block-supports.php:169](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/class-wp-block-supports.php#L169-L191)
 * function[wp_is_json_media_type()](https://developer.wordpress.org/reference/functions/wp_is_json_media_type/)
 * Checks whether a string is a valid JSON Media Type.
 * Used by [2 functions](https://developer.wordpress.org/reference/functions/wp_is_json_media_type/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/functions/wp_is_json_media_type/#uses)
   | Source: [wp-includes/load.php:1964](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/load.php#L1964-L1972)
 * hook[is_wp_error_instance](https://developer.wordpress.org/reference/hooks/is_wp_error_instance/)
 * Fires when `is_wp_error()` is called and its parameter is an instance of WP_Error.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/is_wp_error_instance/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/is_wp_error_instance/#uses)
   | Source: [wp-includes/load.php:1815](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/load.php#L1815-L1815)
 * function[wp_populate_basic_auth_from_authorization_header()](https://developer.wordpress.org/reference/functions/wp_populate_basic_auth_from_authorization_header/)
 * Populates the Basic Auth server details from the Authorization header.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/wp_populate_basic_auth_from_authorization_header/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/functions/wp_populate_basic_auth_from_authorization_header/#uses)
   | Source: [wp-includes/load.php:106](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/load.php#L106-L139)
 * method[WP_REST_Server::get_max_batch_size()](https://developer.wordpress.org/reference/classes/wp_rest_server/get_max_batch_size/)
 * Gets the maximum number of requests that can be included in a batch.
 * Used by [1 function](https://developer.wordpress.org/reference/classes/wp_rest_server/get_max_batch_size/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/classes/wp_rest_server/get_max_batch_size/#uses)
   | Source: [wp-includes/rest-api/class-wp-rest-server.php:1722](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/class-wp-rest-server.php#L1722-L1731)
 * hook[rest_get_max_batch_size](https://developer.wordpress.org/reference/hooks/rest_get_max_batch_size/)
 * Filters the maximum number of REST API requests that can be included in a batch.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/rest_get_max_batch_size/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/rest_get_max_batch_size/#uses)
   | Source: [wp-includes/rest-api/class-wp-rest-server.php:1730](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/class-wp-rest-server.php#L1730-L1730)
 * method[WP_REST_Server::serve_batch_request_v1()](https://developer.wordpress.org/reference/classes/wp_rest_server/serve_batch_request_v1/)
 * Serves the batch/v1 request.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_rest_server/serve_batch_request_v1/#used-by)
   | Uses [13 functions](https://developer.wordpress.org/reference/classes/wp_rest_server/serve_batch_request_v1/#uses)
   | Source: [wp-includes/rest-api/class-wp-rest-server.php:1741](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/class-wp-rest-server.php#L1741-L1900)
 * method[WP_REST_Server::match_request_to_handler()](https://developer.wordpress.org/reference/classes/wp_rest_server/match_request_to_handler/)
 * Matches a request object to its handler.
 * Used by [3 functions](https://developer.wordpress.org/reference/classes/wp_rest_server/match_request_to_handler/#used-by)
   | Uses [5 functions](https://developer.wordpress.org/reference/classes/wp_rest_server/match_request_to_handler/#uses)
   | Source: [wp-includes/rest-api/class-wp-rest-server.php:1153](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/class-wp-rest-server.php#L1153-L1224)
 * method[WP_REST_Server::respond_to_request()](https://developer.wordpress.org/reference/classes/wp_rest_server/respond_to_request/)
 * Dispatches the request to the callback handler.
 * Used by [2 functions](https://developer.wordpress.org/reference/classes/wp_rest_server/respond_to_request/#used-by)
   | Uses [7 functions](https://developer.wordpress.org/reference/classes/wp_rest_server/respond_to_request/#uses)
   | Source: [wp-includes/rest-api/class-wp-rest-server.php:1238](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/class-wp-rest-server.php#L1238-L1330)
 * method[WP_REST_Site_Health_Controller::load_admin_textdomain()](https://developer.wordpress.org/reference/classes/wp_rest_site_health_controller/load_admin_textdomain/)
 * Loads the admin textdomain for Site Health tests.
 * Used by [7 functions](https://developer.wordpress.org/reference/classes/wp_rest_site_health_controller/load_admin_textdomain/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/classes/wp_rest_site_health_controller/load_admin_textdomain/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php:335](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php#L335-L341)
 * method[WP_REST_Site_Health_Controller::get_item_schema()](https://developer.wordpress.org/reference/classes/wp_rest_site_health_controller/get_item_schema/)
 * Gets the schema for each site health test.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_rest_site_health_controller/get_item_schema/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/classes/wp_rest_site_health_controller/get_item_schema/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php:350](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php#L350-L406)
 * method[WP_REST_Site_Health_Controller::__construct()](https://developer.wordpress.org/reference/classes/wp_rest_site_health_controller/__construct/)
 * Site Health controller constructor.
 * Used by [1 function](https://developer.wordpress.org/reference/classes/wp_rest_site_health_controller/__construct/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wp_rest_site_health_controller/__construct/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php:35](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php#L35-L40)
 * method[WP_REST_Site_Health_Controller::register_routes()](https://developer.wordpress.org/reference/classes/wp_rest_site_health_controller/register_routes/)
 * Registers API routes.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_rest_site_health_controller/register_routes/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/classes/wp_rest_site_health_controller/register_routes/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php:50](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php#L50-L178)
 * method[WP_REST_Site_Health_Controller::validate_request_permission()](https://developer.wordpress.org/reference/classes/wp_rest_site_health_controller/validate_request_permission/)
 * Validates if the current user can request this REST endpoint.
 * Used by [1 function](https://developer.wordpress.org/reference/classes/wp_rest_site_health_controller/validate_request_permission/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/classes/wp_rest_site_health_controller/validate_request_permission/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php:188](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php#L188-L202)
 * hook[site_health_test_rest_capability_{$check}](https://developer.wordpress.org/reference/hooks/site_health_test_rest_capability_check/)
 * Filters the capability needed to run a given Site Health check.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/site_health_test_rest_capability_check/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/site_health_test_rest_capability_check/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php:199](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php#L199-L199)
 * method[WP_REST_Site_Health_Controller::test_background_updates()](https://developer.wordpress.org/reference/classes/wp_rest_site_health_controller/test_background_updates/)
 * Checks if background updates work as expected.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_rest_site_health_controller/test_background_updates/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/classes/wp_rest_site_health_controller/test_background_updates/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php:211](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php#L211-L214)
 * method[WP_REST_Site_Health_Controller::test_dotorg_communication()](https://developer.wordpress.org/reference/classes/wp_rest_site_health_controller/test_dotorg_communication/)
 * Checks that the site can reach the WordPress.org API.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_rest_site_health_controller/test_dotorg_communication/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/classes/wp_rest_site_health_controller/test_dotorg_communication/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php:223](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php#L223-L226)
 * method[WP_REST_Site_Health_Controller::test_loopback_requests()](https://developer.wordpress.org/reference/classes/wp_rest_site_health_controller/test_loopback_requests/)
 * Checks that loopbacks can be performed.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_rest_site_health_controller/test_loopback_requests/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/classes/wp_rest_site_health_controller/test_loopback_requests/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php:235](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php#L235-L238)
 * method[WP_REST_Site_Health_Controller::test_authorization_header()](https://developer.wordpress.org/reference/classes/wp_rest_site_health_controller/test_authorization_header/)
 * Checks that the authorization header is valid.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_rest_site_health_controller/test_authorization_header/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/classes/wp_rest_site_health_controller/test_authorization_header/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php:259](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php#L259-L262)
 * method[WP_REST_Site_Health_Controller::get_directory_sizes()](https://developer.wordpress.org/reference/classes/wp_rest_site_health_controller/get_directory_sizes/)
 * Gets the current directory sizes for this install.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_rest_site_health_controller/get_directory_sizes/#used-by)
   | Uses [5 functions](https://developer.wordpress.org/reference/classes/wp_rest_site_health_controller/get_directory_sizes/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php:283](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php#L283-L325)

1 [2](https://developer.wordpress.org/reference/since/5.6.0/page/2/?output_format=md)
[3](https://developer.wordpress.org/reference/since/5.6.0/page/3/?output_format=md)…
[7](https://developer.wordpress.org/reference/since/5.6.0/page/7/?output_format=md)

 [Next Page](https://developer.wordpress.org/reference/since/5.6.0/page/2/?output_format=md)