Checks to see if a given e-mail address has a Gravatar or not.
You can use this function to only call get_avatar() when the user has a Gravatar and display nothing (rather than a placeholder image) when they don’t.
Parameters
Name | Type | Description |
---|---|---|
string | Email to check for a gravatar |
Return Value
bool: Returns true if $email has a gravatar