Hi,
First of all thanks for your very useful and greath plugin. I’m on my way to setup this plugin for my site an came along a special request. I don’t want to change / mod your plugin directly if I can avoid.
So it would be greath if you could consider the following change:
function categories_group($name, $show_mode = false, $taxonomy = ‘category’, $top_level = false) {
$categories = get_categories( array( ‘taxonomy’ => $taxonomy, ‘hide_empty’ => 0 , ‘parent’ => (($top_level) ? 0 : ”) ) );
I need to filter for custom taxonomy. Mayby passing the args would do best and keep flexibility.
function categories_group($name, $show_mode = false, $cat_args = ”) {
$categories = get_categories( $args );
Best regards