get_category filter form majelbstoat. fixes #2466
git-svn-id: https://develop.svn.wordpress.org/trunk@4007 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
4591c517ce
commit
d120bbcfff
@ -115,6 +115,8 @@ function &get_category(&$category, $output = OBJECT) {
|
||||
}
|
||||
}
|
||||
|
||||
$_category = apply_filters('get_category', $_category);
|
||||
|
||||
if ( $output == OBJECT ) {
|
||||
return $_category;
|
||||
} elseif ( $output == ARRAY_A ) {
|
||||
|
Loading…
Reference in New Issue
Block a user