inc/avatars.php

largo_has_gravatar()

Determine whether or not an author has a valid gravatar image see: https://codex.wordpress.org/Using_Gravatars

Parameters:
  • $tring ($email) – an author’s email address
Returns:

bool $rue if a gravatar is available for this user

Since:

0.3

largo_has_avatar()

Determine whether or not a user has an avatar. Fallback checks if user has a gravatar.

Parameters:
  • $tring ($email) – an author’s email address
Returns:

bool $rue if an avatar is available for this user

Since:

0.4