I’m trying to create a custom module that takes a users content, and wraps it in a shortcode (from another plugin).
In the frontend.php i have:
<?php echo do_shortcode('[my_shortcode id="12332123" description="description goes here"]' . $settings->user_content . '[/my_shortcode]'); ?>
but all it is showing is the text of the shortcode, and it is not rendering it. e.g.
[my_shortcode id="12332123" description="description goes here"]the content i typed in[/my_shortcode]
The plugin which has the shortcode i am trying to use is active.
Any idea how i could do this?