avatar (tag)

get_avatar()

Retrieve the <img> tag with the avatar of a user who is authorized or provided an email address when commenting. Most commonly used in the comments section.

get_avatar_data()

Gets an array of data about the avatar, by the provided email, ID, user object, post object, or comment object.

get_avatar_url()

Gets the avatar URL based on the provided email, ID, or user object. You can also pass a post or comment object.