I have below code.echo $FileContents;
shows the page which comes the php variable correctly, but the escape function which is <?php esc_html( $FileContents ); ?>
didnt show anything.
How can I escape it correctly and show the page?
<?php global $redux_demo; ?>
<div class="row">
<div class="col-md-12 ulockd-mrgn1210">
<?php $FileContents = file_get_contents($redux_demo['text-location-service-details']); ?>
<?php echo $FileContents; ?>
<?php esc_html( $FileContents ); ?>
</div></div>