bp_rest_members_delete_current_item_permissions_check

bp_rest_members_delete_current_item_permissions_check

Hook Type: filter

See hook in core

Displaying hooks found in version: buddypress.14.3.3

apply_filters('bp_rest_members_delete_current_item_permissions_check') is found 1 times:

  • /bp-members/classes/class-bp-rest-members-endpoint.php line 451
    		 *
    		 * @param true|WP_Error   $retval  Returned value.
    		 * @param WP_REST_Request $request The request sent to the API.
    		 */
    		return apply_filters( 'bp_rest_members_delete_current_item_permissions_check', $retval, $request );
    	}
    
    	/**
    	 * Deletes the current user.
    	 *
    	 * @since 5.0.0