Add $request_data parameter to getData(). Renamed $data to $update_data in putData(), patchData() and postData().
Add $request_data parameter to getData(). Renamed $data to $update_data in putData(), patchData() and postData().

drsdre/yii2-wordpress-api