How to hook wp_list_pages?

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 looks of source
    return $output;
}
add_filter('wp_list_pages', 'wp_list_pages_filter');

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)