Apply get_nested_cats filter. Props davidhouse and Nazgul. fixes #2623
git-svn-id: https://develop.svn.wordpress.org/trunk@5379 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
24226c8241
commit
926e50cbf2
|
@ -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