From 926e50cbf2ee9bf3c57441ee7d73d706cd5f2252 Mon Sep 17 00:00:00 2001 From: rob1n Date: Thu, 3 May 2007 04:34:07 +0000 Subject: [PATCH] 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 --- wp-admin/admin-functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-admin/admin-functions.php b/wp-admin/admin-functions.php index d7e61f38bd..7485ab6a8c 100644 --- a/wp-admin/admin-functions.php +++ b/wp-admin/admin-functions.php @@ -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;