$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 ?>