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:
parent
7db9d9f6b2
commit
0b1ce5d4f8
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue