$pages = get_pages(‘child_of=’.$post->ID); Why arguments are concatenated?
It is concatenated because that”s how we combine strings together in PHP, and string is passed because arguments can be passed as a query string or an array of key => value pairs. See the get_pages() documentation for more details. // So both of these will work: // 1. Pass string of arguments. $pages = … Read more