Viewing 1 replies (of 1 total)
  • Plugin Contributor Thomas

    (@tlartaud)

    Hi,

    No sorry. We can’t supercharge the plugin with tons of small shortcodes. However, you can edit any template and add your custom code.

    
    <?php 
    	$user_id = get_current_user_id(); 
    	$user_info = get_userdata($user_id);
    
    	if($user_info) {
    		echo 'User roles: '.implode(', ', $user_info->roles)
            }
    

    Please, note that our support forums are located here: https://wp-customerarea.com/support/
    You’ll get answers within 24 hours on this one (except on holidays & weekends of course).

    Best regards.

Viewing 1 replies (of 1 total)

The topic ‘Displaying the user role name’ is closed to new replies.