Checks if a given request has access to delete the current user.
Parameters
$request
WP_REST_Requestrequired- Full details about the request.
Source
$response = new WP_REST_Response();
$response->set_data(
array(
'deleted' => true,
'previous' => $previous->get_data(),
Changelog
Version | Description |
---|---|
4.7.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.