ignition3d
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
very strange. I changed the path of the file to import. now it updates the data correctly.
yes… I also find it very strange. the file I’m importing is the correct one with the new data. there is no cache problem. it’s very strange.
is not updating any data
- This reply was modified 11 months, 1 week ago by ignition3d.
function sbc_save_custom_fields($user_id) { if (!current_user_can('edit_user', $user_id)) { return false; } update_user_meta($user_id, 'badge_number', $_POST['badge_number']); update_user_meta($user_id, 'user_class', $_POST['user_class']); update_user_meta($user_id, 'user_address', $_POST['user_address']); update_user_meta($user_id, 'user_address2', $_POST['user_address2']); update_user_meta($user_id, 'user_postcode', $_POST['user_postcode']); update_user_meta($user_id, 'user_city', $_POST['user_city']); update_user_meta($user_id, 'user_phone', $_POST['user_phone']); update_user_meta($user_id, 'user_birth_year', $_POST['user_birth_year']); update_user_meta($user_id, 'user_gender', $_POST['user_gender']); }
I use this code to create custom fields.
Anyway, thank you so much for your support and for your plugin.
- This reply was modified 11 months, 1 week ago by ignition3d.
yes. this is a screen of my db.
Viewing 4 replies - 1 through 4 (of 4 total)