Content of the page

How to hide payment gateway on checkout

Content of the article

Sometimes it is necessary hide payment gate on the checkout page in multiple mode dependently of the current currency.

From version 2.1.4/1.1.4 additional css class implemented in tag <body>. Example: currency-usd,  where usd there is the current currency. So it is very easy from now to hide any gates on checkout by your logic just using CSS.


OR better use more advanced way -> in your site current wp theme functions.php file add next PHP script:


More examples:

  • _