Shortcode for content view access restriction

Shortcode to display the content only to the specific roles you can use this shortcode to show content only to specific user roles. How to use user role shortcode You can see example below. [user_role role=”aministrator”]Admin[/user_role] [user_role role=”subscriber”]Subscriber[/user_role]