A blog for technology, SEO tips, website development and open source programming.

Validate User Gravatar For Specific Email Id

1 282

Gravatar is one of the most common used service used widely on WordPress blogging platform. Gravatar is used for providing globally unique avatar for a specific email. During advance WordPress development, you may want to check if Gravatar is available for a users email, to display image or avatar from alternative source.

gravatar-wp

The following PHP snippets can be used to determine if Gravatar is available for specified email. It returns TRUE for valid gravatar otherwise it returns false.

Check out the source code in github

WordPress-scripts/gravatar.php

1 Comment
  1. […] Check>>Validate User Gravatar For Specific Email Id […]

Leave a Reply

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More