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

Home Forums Core How to disable wallet topup

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

    Hello,

    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.

    Thanks

    Subrata Mal
    Keymaster
    Post count: 207

    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');

    maximodesarrollo.com
    Participant
    Post count: 1

    Hi !!!, since word 6.4.2 I can’t access to theme configuration to put the line add_filter(‘woo_wallet_is_enable_top_up’, ‘_return_false’); for my woo wallet and deactivate the top up, how can I do that now?

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