I am making website on wordpress and want to use opening and closing shortcode in my website's page template. In that shortcode i want to insert one more shortcode, but i don't know how to do that. Can anyone please help me how to do that ? Below written is the content which i want to insert in my page template with php code.
[restrict userlevel="subscriber"][masterslider id="1"][/restrict]
After spending a long time on research i found that
.$content.
should be used between
[restrict] [/restrict]
to do this . But now i don't know that how to use
.$content.
as
[masterslider id="1"]
Please let me know the full coding of this. I would be really thankful to you.