Title: 5.6.0 | Page 2 of 7 | Developer.WordPress.org

---

# New and updated in 5.6.0

Functions

Hooks

Classes

Methods

 * 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_Application_Passwords_Controller::do_permissions_check()](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/do_permissions_check/)
 * Performs a permissions check for the request.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/do_permissions_check/#used-by)
   | Uses [7 functions](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/do_permissions_check/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php:549](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php#L549-L567)
 * method[WP_REST_Application_Passwords_Controller::prepare_item_for_database()](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/prepare_item_for_database/)
 * Prepares an application password for a create or update operation.
 * Used by [2 functions](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/prepare_item_for_database/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/prepare_item_for_database/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php:577](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php#L577-L595)
 * hook[rest_pre_insert_application_password](https://developer.wordpress.org/reference/hooks/rest_pre_insert_application_password/)
 * Filters an application password before it is inserted via the REST API.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/rest_pre_insert_application_password/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/rest_pre_insert_application_password/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php:594](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php#L594-L594)
 * method[WP_REST_Application_Passwords_Controller::prepare_item_for_response()](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/prepare_item_for_response/)
 * Prepares the application password for the REST response.
 * Used by [6 functions](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/prepare_item_for_response/#used-by)
   | Uses [5 functions](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/prepare_item_for_response/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php:606](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php#L606-L647)
 * hook[rest_prepare_application_password](https://developer.wordpress.org/reference/hooks/rest_prepare_application_password/)
 * Filters the REST API response for an application password.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/rest_prepare_application_password/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/rest_prepare_application_password/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php:646](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php#L646-L646)
 * method[WP_REST_Application_Passwords_Controller::prepare_links()](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/prepare_links/)
 * Prepares links for the request.
 * Used by [1 function](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/prepare_links/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/prepare_links/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php:658](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php#L658-L671)
 * method[WP_REST_Application_Passwords_Controller::get_user()](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/get_user/)
 * Gets the requested user.
 * Used by [16 functions](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/get_user/#used-by)
   | Uses [10 functions](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/get_user/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php:681](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php#L681-L735)
 * method[WP_REST_Application_Passwords_Controller::get_application_password()](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/get_application_password/)
 * Gets the requested application password for a user.
 * Used by [3 functions](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/get_application_password/#used-by)
   | Uses [5 functions](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/get_application_password/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php:745](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php#L745-L763)
 * method[WP_REST_Application_Passwords_Controller::get_collection_params()](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/get_collection_params/)
 * Retrieves the query params for the collections.
 * Used by [1 function](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/get_collection_params/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/get_collection_params/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php:772](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php#L772-L776)
 * method[WP_REST_Application_Passwords_Controller::get_item_schema()](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/get_item_schema/)
 * Retrieves the application password’s schema, conforming to JSON Schema.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/get_item_schema/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/get_item_schema/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php:785](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php#L785-L856)
 * method[WP_REST_Application_Passwords_Controller::delete_item()](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/delete_item/)
 * Deletes an application password for a user.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/delete_item/#used-by)
   | Uses [5 functions](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/delete_item/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php:447](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php#L447-L474)
 * method[WP_REST_Application_Passwords_Controller::get_items_permissions_check()](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/get_items_permissions_check/)
 * Checks if a given request has access to get application passwords.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/get_items_permissions_check/#used-by)
   | Uses [6 functions](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/get_items_permissions_check/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php:112](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php#L112-L128)
 * method[WP_REST_Application_Passwords_Controller::get_items()](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/get_items/)
 * Retrieves a collection of application passwords.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/get_items/#used-by)
   | Uses [4 functions](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/get_items/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php:138](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php#L138-L155)
 * method[WP_REST_Application_Passwords_Controller::get_item_permissions_check()](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/get_item_permissions_check/)
 * Checks if a given request has access to get a specific application password.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/get_item_permissions_check/#used-by)
   | Uses [6 functions](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/get_item_permissions_check/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php:165](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php#L165-L181)
 * method[WP_REST_Application_Passwords_Controller::get_item()](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/get_item/)
 * Retrieves one application password from the collection.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/get_item/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/get_item/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php:191](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php#L191-L199)
 * method[WP_REST_Application_Passwords_Controller::create_item_permissions_check()](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/create_item_permissions_check/)
 * Checks if a given request has access to create application passwords.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/create_item_permissions_check/#used-by)
   | Uses [6 functions](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/create_item_permissions_check/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php:209](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php#L209-L225)
 * method[WP_REST_Application_Passwords_Controller::create_item()](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/create_item/)
 * Creates an application password.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/create_item/#used-by)
   | Uses [9 functions](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/create_item/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php:235](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php#L235-L282)
 * hook[rest_after_insert_application_password](https://developer.wordpress.org/reference/hooks/rest_after_insert_application_password/)
 * Fires after a single application password is completely created or updated via
   the REST API.
 * Used by [2 functions](https://developer.wordpress.org/reference/hooks/rest_after_insert_application_password/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/rest_after_insert_application_password/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php:273](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php#L273-L273)
 * method[WP_REST_Application_Passwords_Controller::update_item_permissions_check()](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/update_item_permissions_check/)
 * Checks if a given request has access to update application passwords.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/update_item_permissions_check/#used-by)
   | Uses [6 functions](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/update_item_permissions_check/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php:292](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php#L292-L308)
 * method[WP_REST_Application_Passwords_Controller::update_item()](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/update_item/)
 * Updates an application password.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/update_item/#used-by)
   | Uses [9 functions](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/update_item/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php:318](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php#L318-L356)
 * method[WP_REST_Application_Passwords_Controller::delete_items_permissions_check()](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/delete_items_permissions_check/)
 * Checks if a given request has access to delete all application passwords for 
   a user.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/delete_items_permissions_check/#used-by)
   | Uses [6 functions](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/delete_items_permissions_check/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php:366](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php#L366-L382)
 * method[WP_REST_Application_Passwords_Controller::delete_items()](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/delete_items/)
 * Deletes all application passwords for a user.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/delete_items/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/delete_items/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php:392](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php#L392-L411)
 * method[WP_REST_Application_Passwords_Controller::delete_item_permissions_check()](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/delete_item_permissions_check/)
 * Checks if a given request has access to delete a specific application password
   for a user.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/delete_item_permissions_check/#used-by)
   | Uses [6 functions](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/delete_item_permissions_check/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php:421](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php#L421-L437)
 * class[WP_REST_Application_Passwords_Controller](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/)
 * Core class to access a user’s application passwords via the REST API.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php:17](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php#L17-L857)
 * method[WP_REST_Application_Passwords_Controller::__construct()](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/__construct/)
 * Application Passwords controller constructor.
 * Used by [1 function](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/__construct/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/__construct/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php:24](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php#L24-L27)
 * method[WP_REST_Application_Passwords_Controller::register_routes()](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/register_routes/)
 * Registers the REST API routes for the application passwords controller.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/register_routes/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/classes/wp_rest_application_passwords_controller/register_routes/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php:34](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php#L34-L102)
 * method[WP_REST_Comments_Controller::check_is_comment_content_allowed()](https://developer.wordpress.org/reference/classes/wp_rest_comments_controller/check_is_comment_content_allowed/)
 * If empty comments are not allowed, checks if the provided comment content is 
   not empty.
 * Used by [2 functions](https://developer.wordpress.org/reference/classes/wp_rest_comments_controller/check_is_comment_content_allowed/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/classes/wp_rest_comments_controller/check_is_comment_content_allowed/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:2003](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php#L2003-L2042)
 * method[WP_REST_Posts_Controller::check_status()](https://developer.wordpress.org/reference/classes/wp_rest_posts_controller/check_status/)
 * Checks whether the status is valid for the given post.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_rest_posts_controller/check_status/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/classes/wp_rest_posts_controller/check_status/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1546](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php#L1546-L1558)
 * class[WP_REST_Term_Search_Handler](https://developer.wordpress.org/reference/classes/wp_rest_term_search_handler/)
 * Core class representing a search handler for terms in the REST API.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_rest_term_search_handler/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/classes/wp_rest_term_search_handler/#uses)
   | Source: [wp-includes/rest-api/search/class-wp-rest-term-search-handler.php:17](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/search/class-wp-rest-term-search-handler.php#L17-L176)

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

[1](https://developer.wordpress.org/reference/since/5.6.0/?output_format=md) 2 [3](https://developer.wordpress.org/reference/since/5.6.0/page/3/?output_format=md)
[4](https://developer.wordpress.org/reference/since/5.6.0/page/4/?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/3/?output_format=md)