Restric content in PHP
-
Hello ??
I am trying to restrict content for a shortcode inserted in a PHP template.
This is my shortcode: <?php echo do_shortcode(‘[wd_asp id=1]’); ?>
Is there a way to wrap somehow the
[um_show_content roles=’reseller,admin’]XXXXXXX [/um_show_content] around the shortcode?Thank you very much in advance for any kind of help!
Guillaume
- The topic ‘Restric content in PHP’ is closed to new replies.