I am using this plugin https://wordpress.org/plugins/content-protector/
Enter the correct password to view the content↓
[passster password="123456"]content here[/passster]
adding to php↓
<?php
echo do_shortcode('[passster password="123456"]content here[/passster]');
?>
He can work
But I need to hide the content that contains PHP↓
<!--<hide content>-->
<ul class="TPlayerNv">
<?php echo $optplayer; ?>
</ul>
<div class="TPlayerCn BgA">
<div class="EcBgA" style="background-color:#EEEEEE!important;">
<div class="TPlayer">
<?php echo $player; ?>
<span class="AAIco-lightbulb_outline lgtbx-lnk"></span>
</div>
</div>
</div>
<span class="lgtbx"></span>
<!--</hide content>-->
I am a newbie, he looks like this↓
<?php
echo do_shortcode('[passster password="123456"]
<!--<hide content>-->
<ul class="TPlayerNv">
<?php echo $optplayer; ?>
</ul>
<div class="TPlayerCn BgA">
<div class="EcBgA" style="background-color:#EEEEEE!important;">
<div class="TPlayer">
<?php echo $player; ?>
<span class="AAIco-lightbulb_outline lgtbx-lnk"></span>
</div>
</div>
</div>
<span class="lgtbx"></span>
<!--</hide content>-->
[/passster]');
?>
I know that this doesn't work
help