I am trying to modify the description of a Payment Gateway depending on if a specific order is in the basket.

I am able to check the basket for the item in question correctly, but I am stuck at changing the description for a returned Payment Method.

I have seen the woocommerce_available_payment_gateways filter but am not sure if this is what I need.

anyone have any suggestions?

  • where do you want to display the customised description ? – Kaperto Aug 14 '18 at 21:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.