Inserting PHP inside do_shortcode
-
I am trying to use an existing shortcode for an accordion element with opening and closing shortcodes in a custom template for my wordpress site. Basically, I need to insert PHP arrays inside this shortcode, like so:
<php do_shortcode('[vc_accordion]';> PHP arrays here <php do_shortcode('[/vc_accordion]';>
Does anyone know if a solution?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Inserting PHP inside do_shortcode’ is closed to new replies.