Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ali Qureshi

    (@parorrey)

    Open the json-api-user/controllers/User.php

    Find this:

    if($user_id) $msg = 'Success';

    Replace with this:

    if($user_id) {
    
    $msg = 'Success';
    
    $website = $_REQUEST['website'];
    update_user_meta($user_id, 'user_url', $website);
    
    }

    You can add as many meta values as you want by copying the update_user_meta($user_id, 'user_url', $website);

    line.

    Thread Starter Gianfra

    (@gianfra)

    Thanks!

    It works great!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Registration custom filed wp_usermeta’ is closed to new replies.