Hide `eye` icon from Listings row based on user role
Simple front-end (JavaScript) method to hide the "Eye" icon on your Listings based on specific user-role(s).
This is only a visual change, and not a server side prevention of being able to open the "View" modal. So keep this in mind when using this.
Put below PHP code in your child theme functions.php
PreviousGenerate dynamic columns with dates based on user selected date from Datepicker elementNextData storage
Last updated