guid; $url_to_wire = $vars['url'] . "pg/thewire/" . $vars['entity']->username; //grab the users latest from the wire $latest_wire = elgg_get_entities(array('types' => 'object', 'subtypes' => 'thewire', 'owner_guid' => $owner, 'limit' => 1)); if($latest_wire){ foreach($latest_wire as $lw){ $content = $lw->description; $time = "
(" . friendly_time($lw->time_created) . ")
"; } } if($latest_wire){ echo "