Again: get_categories filter does not apply automatically
here again the question which i posted some days ago and still remains unanswered. if i post this question on a wrong channel, please inform me as well! thanx a lot…
now the question:
i use get_categories() sometimes in my plugin code, and have a filter registered on this function:
add_filter(‘get_category’, ‘foo’, 0);
but TEST! is never echoed when i call get_categories somewhere else in my code…
when i add the line apply_filter(‘get_categories’, $categories);
to the function &get_categories($args = ”) in wpincludes/category.php everything works fine. is this a known bug or am i doing something wrong?
thanks for replying,
- The topic ‘Again: get_categories filter does not apply automatically’ is closed to new replies.