Closed ajpiano closed 12 years ago
Something like this:
$posts = get_posts( array(
'post_type' => 'page',
'post_status' => 'publish',
'post_parent' => $parent_id,
) );
This is addressed in web-base-template https://github.com/jquery/web-base-template/pull/83
Tracked in learn.