WordPress at Your Fingertips
filter is not described

rest_prepare_application_password filter-hook . WP 5.6.0

Filters the REST API response for an application password.

Usage

add_filter( 'rest_prepare_application_password', 'filter_function_name_7643', 10, 3 );
function filter_function_name_7643( $response, $item, $request ){
	// filter...

	return $response;
}
$response(WP_REST_Response)
The response object.
$item(array)
The application password array.
$request(WP_REST_Request)
The request object.

Changelog

Since 5.6.0 Introduced.

Where the hook is called

WP_REST_Application_Passwords_Controller::prepare_item_for_response()
rest_prepare_application_password
wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php 641
return apply_filters( 'rest_prepare_application_password', $response, $item, $request );

Where in WP core the hook is used WordPress

Usage not found.