Disable wallet gateway completely for specific user role2021-02-11T22:46:31+05:30

Home Forums Core Disable wallet gateway completely for specific user role

Viewing 1 post (of 1 total)
  • Author
    Posts
  • jon
    Participant
    Post count: 11

    How can I disable the wallet completely for a user role like subscriber?

    I have partial payments enabled and when I use this filter it removes the partial payment section but still shows and calculates the wallet fee:

    add_filter( ‘woo_wallet_payment_is_available’, ‘__return_false’);

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.
WhatsApp