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|WP_Comment) – a wordpress user ID or user email address, or a comment.
  • $string (int) – The size of the avatar.