This shortcode allows you to display the avatar of the current post author if no attributes are provided or the avatar of a given author if you provide the author ID and author type.
It can be used anywhere within WordPress where shortcodes are supported. For most users, this will primarily be within the content of a WordPress post or page or the sidebar.
The trivial shortcode to get the profile image of one of your authors would be:
Check out below all the available attributes this shortcode can take: