WP Inventory Manager Get Categories

This filter allows altering the categories that are returned when querying the categories.

apply_filters('wpim_get_categories', $categories, $args);