# To load ethosstore taxonomies in rule filter when if is not loads

```php
add_filter('advanced_woo_discount_rules_get_custom_taxonomies', function($custom_taxonomies) {
    if (function_exists('get_taxonomies')) {
        $custom_taxonomies = array_filter(get_taxonomies(array(
            'show_ui' => true,
                'show_in_menu' => true,
                'object_type' => array('product','ethosstore'), 
        ), 'objects'), function ($tax) {
            return !in_array($tax->name, array('product_cat', 'product_tag'));
        });
    }
    return $custom_taxonomies;
}, 100);
```
