Viewing 1 replies (of 1 total)
  • Hi,

    You can not use shortcode like that.
    Right way to use this shortcode is:-
    <?php
    $content = “in this variable you can add your content”;
    echo do_shortcode( ‘[member]’ . $content . ‘[/member]’ );
    ?>

Viewing 1 replies (of 1 total)

The topic ‘do_shortcode in php don't work’ is closed to new replies.