- This topic has 1 reply, 2 voices, and was last updated 1 month ago by .
Is there a way to insert a shortcode into a custom written php file?
I believed you should be able to use <?php echo do_shortcode('[restricted]'); ?>
but because MB quotes the name [mbv name="test1"] it causes an error on the page.
- You must be logged in to reply to this topic.