Update user meta.

This commit is contained in:
Hoang Huu
2019-10-23 15:43:40 +07:00
parent 6be21cbbff
commit b57e76d12f
3 changed files with 158 additions and 101 deletions

View File

@@ -380,6 +380,8 @@ class Opalestate_User_Api extends Opalestate_Base_API {
}
}
$this->update_object_terms( $request['id'], $request );
// Update for others.
foreach ( $others as $key => $value ) {
$kpos = OPALESTATE_AGENCY_PREFIX . $key;