0
votes
1answer
499 views

How to show avatar of current logged in user in a widget

I have a php widget, and I need to show the avatar of the current logged in user, and I'm calling this code: <?php echo get_avatar(); ?> But its only outputting the default avatar. Is there a ...