Ejemplo n.º 1
0
 /**
  * Get the profile URL of the user
  *
  * @return string
  */
 public function get_profile_url()
 {
     return hma_get_user_url($this->get_id());
 }
Ejemplo n.º 2
0
function hma_get_user_link($user_id)
{
    return '<a href="' . hma_get_user_url($user_id) . '">' . hma_get_user_name($user_id) . '</a>';
}
Ejemplo n.º 3
0
/**
 * 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);
}