BP_REST_Members_Endpoint::delete_current_item_permissions_check( WP_REST_Request $request )
Deleting the current user is not implemented into this endpoint.
Description Description
This action is specific to the User Settings endpoint.
Parameters Parameters
- $request
-
(Required) Full details about the request.
Return Return
(WP_Error) WP_Error object to inform it's not implemented.
Source Source
File: bp-members/classes/class-bp-rest-members-endpoint.php
public function delete_current_item_permissions_check( $request ) { return new WP_Error( 'bp_rest_invalid_method', /* translators: %s: transport method name */ sprintf( __( '\'%s\' Transport Method not implemented.', 'buddypress' ), $request->get_method() ), array( 'status' => 405, ) ); }
Changelog Changelog
Version | Description |
---|---|
5.0.0 | Introduced. |