Retreves a given ranks logo (featured image). Uses get_the_post_thumbnail.
echo mycred_get_rank_logo( 'Newbie' );
- rank_id (int|string) Required
Either the rank ID or rank title.
- size (string|array)
The logo size to return. Supports custom image sizes that were added with add_image_size. Defaults to ‘post-thumbnail’. For more information on available sizes please consult the WordPress Codex.
- attr (string|array)
Optional logo image attributes. For more information on available sizes please consult the WordPress Codex.
Returns either the logo HTML image element or an empty string if no logo is set.