Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to create a function get_ phone_number() ?


  • harakiri1
    Member

    @harakiri1

    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

  • You must be logged in to reply to this topic.
Skip to toolbar