How do I get the authors avatar? Buddypress plugin or any plugin.
I have found this inside my PHP code:
"<i class="fa fa-user"></i><span>'.get_the_author().'</span></div>';"
It shows a small image before the author's name, I wanted to change the
fa fa-user into author's avatar or buddypress avatar.
What will be the script to do that?