$site->hasVisibleChildren()

Checks if there are any visible children placed directly in /content

  • return (boolean)

Example

<?php if($site->hasVisibleChildren()): ?>
There are visible children in /content.
<?php endif ?>

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