Profile

getLoggedInContactID());

$result = civicrm_api3(‘Contact’, ‘get’, array(
‘sequential’ => 1,
‘return’ => array(“first_name”),
‘id’ => (CRM_Core_Session::singleton()->getLoggedInContactID()),
));
print_r ($result);
?>