Help required with get_avatar_url() function

  • Unknown's avatar

    Below code is returning e-mail address along with the avatar URL.
    Like (email visible only to moderators and staff)://2.gravatar.com/avatar/?s=96&d=mm&r=g

    PHP code
    <img src=”<?php echo get_avatar_url(comment_author_email());?”>
    Pls suggest how to get only the avatar link?

  • The topic ‘Help required with get_avatar_url() function’ is closed to new replies.