How to hook wp_list_pages?
How can I hook the wp_list_pages function so that it reads a value of a custom field and displays it instead of displaying the page title? 3 Answers 3 A quick Google Search came up with this Source Try the following: function wp_list_pages_filter($output) { // modify $output here, it’s a string of <li>’s by the … Read more