src/OwpUsers.inc.php
public function getUserMetaData($userID)
    {
        $response = array();

        $query_sql = "
            SELECT
                tbl_users_meta_data.key_name,
                tbl_users_meta_data.key_value
            FROM
                tbl_users_meta_data
            WHERE
                tbl_users_meta_data.userID = " . (int)$userID . "
            ORDER BY tbl_users_meta_data.key_name";

        $userData = $this->OwpDBMySQLi->get_results($query_sql);

        if ($userData) {
            foreach ($userData as $ud) {
                $response[$ud->key_name] = $ud->key_value;
            }
        }

        return $response;

    }
public function getUserMetaData($userID)
    {
        $response = array();

        $query_sql = "
            SELECT
                tbl_users_meta_data.key_name,
                tbl_users_meta_data.key_value
            FROM
                tbl_users_meta_data
            WHERE
                tbl_users_meta_data.userID = " . (int)$userID . "
            ORDER BY tbl_users_meta_data.key_name";

        $userData = $this->OwpDBMySQLi->get_results($query_sql);

        if ($userData) {
            foreach ($userData as $ud) {
                $response[$ud->key_name] = $ud->key_value;
            }
        }

        return $response;

    }
getUserMetaData

@method getUserMetaData($userID) Get only the user meta data
@access public

@param int $userID Existing userID

@return array

@author  Brian Tafoya <btafoya@briantafoya.com>
@version 1.0