protected function getTopLevelPages()
    {
        $topLevelQuery = new \WP_Query(array(
            'post_parent' => 0,
            'post_type' => 'page',
            'post_status' => $this->postStatuses,
            'orderby' => 'menu_order post_title',
            'order' => 'asc',
            'posts_per_page' => -1,
            'meta_query'    => array(
                'relation' => 'AND',
                array(
                    'relation' => 'OR',
                    array(
                        'key' => 'hide_in_menu',
                        'compare' => 'NOT EXISTS'
                    ),
                    array(
                        'key'   => 'hide_in_menu',
                        'value' => '0',
                        'compare' => '='
                    )
                )
            )
        ));

        $this->topLevelPages = $topLevelQuery->posts;
        return $this->topLevelPages;
    }