Function:

mp_core_get_avatar_url()

Purpose:

This is a simple function which gets just the avatar URL without the wrapper tag. If you want to use this at retina size (2x), use it in conjunction with the mp_core_get_avatar function instead of the get_avatar function.

Usage Example:

mp_core_get_avatar_url( get_avatar( $id_or_email, 32 ) );

Parameters:

String. The result of this function: get_avatar().

Returns:

A string containing the direct URL to the avatar image.