$site->hasInvisibleChildren()

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

  • return (boolean)

Example

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