Getting only direct child pages in WordPress with get_pages April 5, 2022 by Tarik Billa Please check the parameter ‘parent’. It seems there is a space after the name.