/** * Get the profile URL of the user * * @return string */ public function get_profile_url() { return hma_get_user_url($this->get_id()); }
function hma_get_user_link($user_id) { return '<a href="' . hma_get_user_url($user_id) . '">' . hma_get_user_name($user_id) . '</a>'; }
/** * Override the author url with our own user urls. * * @param string $link * @param int $user_id * @return string */ function hma_get_author_link($link, $user_id) { return hma_get_user_url($user_id); }