Apply get_nested_cats filter. Props davidhouse and Nazgul. fixes #2623

git-svn-id: http://svn.automattic.com/wordpress/trunk@5379 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rob1n 2007-05-03 04:34:07 +00:00
parent 7db9d9f6b2
commit 0b1ce5d4f8
1 changed files with 1 additions and 0 deletions

View File

@ -721,6 +721,7 @@ function get_nested_categories( $default = 0, $parent = 0 ) {
}
}
$result = apply_filters('get_nested_categories', $result);
usort( $result, 'sort_cats' );
return $result;