I currently use an sql query to produce a private page which lists all pages with their id. (It's a quick-check to help exclude some pages from search and site-map.)
For easier formatting, I'm wondering if there's a way to use list_pages (because of the formatting) to also show the ids?
Alternately, how do I list all pages and ids using Wp_Query or get_pages?
I've read 'get all page IDs from wp_list_pages' (get all page IDs from wp_list_pages), but don't know what to add to get it to display results.