How to disable wallet topup2019-09-20T20:36:17+05:30

Home Forums Core How to disable wallet topup

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Tosin Sonaike
    Post count: 9


    Please how can I disable wallet top up, I don’t want my users paying for products with the wallet. I only need the wallet to pay affiliate commisions and enable users to withdraw their earned commissions.


    Subrata Mal
    Post count: 175

    You can disable wallet top-up by adding below code in theme function.php file.

    add_filter('woo_wallet_is_enable_top_up', '__return_false');

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.