Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author philbuchanan

    (@philbuchanan)

    This should do what you want.

    <?php 
    
    $content = '[accordion]';
    $content .= '[accordion-item title="..."]';
    $content .= 'First accordion item content here.';
    $content .= '[/accordion-item]';
    $content .= '[/accordion]';
    
    echo do_shortcode($content);
    
    ?>
    Thread Starter Blutarsky

    (@blutarsky)

    Thank you! ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Calling the plugin explicitly (do_shortcode)’ is closed to new replies.