• It would be nice to have a simple way to stop the plugin from replacing Woocommerce payment method description to “Account to pay”( which doesn’t have meaningful info for a customer). Currently I reverted this by manually returning $description inside wsb_hub3_gateway_description() in your plugin cause I can’t make it with filters. This doesn’t seem to be working

    
    // try 1
    add_filter('woocommerce_gateway_description', 'ms_woocommerce_gateway_description', 999);
    function ms_woocommerce_gateway_description($description) {
    	return $description;
    }
    // try 2
    remove_filter('woocommerce_gateway_description', 'wsb_hub3_gateway_description', 999);
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Revert changing payment description’ is closed to new replies.