2012-04-27, 15:48:19
The below works, but would be interested to hear if there's a better way. I'm a PHP beginner.
Code:
<?php
$kids = getChildren(return_page_slug());
if (!empty($kids)) {
...do some stuff
}
?>