title: How to make an HTML element hidden and viewable only for certain role only in wordpress?
body: <p>Newbie wordpress/php student. I want to make a certain element viewable only for a certain user-role in wordpress and hidden for all normal subscribers/non-subscribers.</p>
  <p>Its for a property page on a real estate website. I want to make a specific tab element hidden so only for certain users(agent user role) to be able to see.(The element will contain information such as property owners phone number. I will take the 'floorplan' tab on the property page and change it to 'owner info' tab.</p>
  <p><img src="https://i.stack.imgur.com/SrK9D.jpg" alt="example image" /></p>