inc/avatars/functions.php

largo_get_avatar_src()

Get the avatar image HTML for the given user id/email and size

Parameters:
  • $id_or_email (int|string) – a wordpress user ID or user email address;
  • $string (int) – The size of the avatar