Error while calling get_cart() inside ‘available_payments’ filter[ad_1] I wrote a function to disable “bacs” payment only if in cart there aren’t…