Add menu link for combination of product category and filter

How can I add a menu link for a specific combination of product category and filters? (in this case product attributes)

I found this that allows me to add links to a single filter, but not a combination of filters or category

add_filter('woocommerce_attribute_show_in_nav_menus', 'wc_reg_for_menus', 1, 2);
function wc_reg_for_menus( $register, $name = '' ) {
    if ( $name == 'pa_product-type' ) $register = true;
    return $register;
}

Is my best option to add it as a custom link?

/product-category/my-category/?filter_product-type=starter-kit,refills&query_type_product-type=or

Read more here: Add menu link for combination of product category and filter

Leave a Reply

Your email address will not be published. Required fields are marked *