Have placed
<?php echo do_shortcode('[wcm_restrict plans="silver"]' .$the_content. '[/wcm_restrict]'); ?>
into a template, but the content isn't appearing.
Have tested
<?php echo do_shortcode('[wcm_restrict plans="silver"]Big Blue[/wcm_restrict]'); ?>
so know the tags are working fine. Also tried get_the_content
Content appears also when just using <?php the_content(); ?>
What am I doing wrong?