Forums

Join
bbPress Support ForumsRequests and FeedbackHow to create a function get_ phone_number() ?

Info

How to create a function get_ phone_number() ?

  1. I try to add phone number field
    function get_profile_info_keys_personal() {
    return array('user_email' => array(1, __('Email')),
    'user_url' => array(0, __('Website')),
    'from' => array(0, __('Location')),
    'occ' => array(0, __('Occupation')),
    'interest' => array(0, __('Interests'))
    'phone_number' => array(0, __('Your phone number')));
    }
    add_filter('get_profile_info_keys', 'get_profile_info_keys_personal');

    but how to create the function which called is "get_phone_number()" ?
    i want to show it in somewhere

  2. You must log in to post.