diff --git a/wp-includes/template-functions-post.php b/wp-includes/template-functions-post.php index e64e40d59b..d855b9b89e 100644 --- a/wp-includes/template-functions-post.php +++ b/wp-includes/template-functions-post.php @@ -356,6 +356,8 @@ function wp_list_pages($args = '') { $output .= ''; endif; + $output = apply_filters('wp_list_pages', $output); + if ( $r['echo'] ) echo $output; else