$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 ?>
Checks if there are any visible children placed directly in /content
<?php if($site->hasVisibleChildren()): ?>
There are visible children in /content.
<?php endif ?>