$site->hasChildren()
Checks if there are any children placed directly in /content
-
return (boolean)
Example
<?php if($site->hasChildren()): ?>
There are children in /content.
<?php endif ?>
Checks if there are any children placed directly in /content
<?php if($site->hasChildren()): ?>
There are children in /content.
<?php endif ?>