I'd like to get all pages that are direct children of HOME_ID. Per http://codex.wordpress.org/Function_Reference/get_pages#Parameters (see 'parent' parameter), I think this should be done with get_pages:
$top_pages = get_pages(array('parent' => HOME_ID, 'sort_column' => 'menu_order'));
but this returns no results. I get results back if I plug in 0 for HOME_ID. No sweat because I can achieve what I want with:
$menu_wp_query = new WP_Query(); $top_pages = $menu_wp_query->query(array('post_type' => 'page', 'post_parent' => HOME_ID, 'orderby' => 'menu_order'));
But still uncomfortable; is this a bug? Using WP 3.2.1 Thanks.