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.

Top ↑

Parameters Parameters


(WP_REST_Request) (Required) Full details about the request.

Top ↑

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(
			/* translators: %s: transport method name */
			sprintf( __( '\'%s\' Transport Method not implemented.', 'buddypress' ), $request->get_method() ),
				'status' => 405,

Top ↑

Changelog Changelog

Version Description
5.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.