$page->hide()

Removes the sorting number from the page directory to switch it to invisible

  • return (boolean)

Example

try {

  page('visible-page')->hide();
  echo 'The page is now invisible';

} catch(Exception $e) {

  echo $e->getMessage();

}

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