$page->isInvisible()

Checks if the page is invisible

  • return (boolean)
<?php if($page->isInvisible()): ?>
  // redirect to error page
  <?php go('error') ?>
<?php endif ?>

Is something missing or incorrect? Edit this page on Github…