I have this code that displays an content to to users who have an paid subscribtion:
echo do_shortcode('[ihc-hide-content ihc_mb_who="5,7"] MY CONTENT HERE [/ihc-hide-content])
But I want to display inside this shortcode where it says MY CONTENT HERE, an logical function, like this:
if ( $a = $b ) { echo ($c); }
There is possibile to do this in some way? P.S. I have made another shortcode, and put him inside like this:
do_shortcode('[ihc-hide-content ihc_mb_who="5,7"].do_shortcode('[my_shortcode]').[/ihc-hide-content])
But the 1st shortcode is not hide the content of 2nd shortcode. Any help will be apreciated, ans sorry for my bad english!