Limited Support
Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.
Jan 31, 2020 8:55 pm
I would like to show the username with your avatar in a menu, to display the account options, is there already any function to do this?
6 Replies
Feb 01, 2020 5:40 am
The avatar could be displayed using this function:
<?php echo get_avatar( get_current_user_id(), 60 ); ?>
The user display name:
<?php echo WPF()->current_user_display_name; ?>