Restricting shortcode for users

Question

anyway to block any user /role(except the admin) to use shortcode? i want to keep some specific shortcode secret. if somehow users come to know, they cant use it. if only admin writes the shortcode it will make changes to site, but if someone else write the shortcode it will be taken as a simple text.

0
Abdullah Al Muaz 2 months 0 Answers 10 views 0

Leave an answer