/vendor/magento/module- catalog/view/frontend/web/js/catalog-add-to-cart.js
mini cart does not clear after placing an order - magento 2.0.7 #5621
$ cartUpdated = $objectManager->get('Magento\Checkout\Model\Session')->
Starting with the release of Magento Commerce 2.3.2, Magento will assign
\Magento\Checkout\Block\Cart\Sidebar.php::getUpdateItemQtyUrl()
Apply the PayPal Express Checkout issue with region patch for Magento
You could try something like this (without guaranty as I can't test it): add_action( ' wp_footer', 'custom_jquery_script' ); function ...
which refers to these lines in minicart.js
showLoader: true, success: function (res) { var parsedResponse = $.