You’ll need the shipping method radio button value and payment gateway ID you wish to disable.
Simply copy the pre-coded solution to your active theme’s functions.php or preferably the Code Snippets Plugin.
Need support with the snippet? We’re Here to Help You, Contact Us!
If you do not have the facility to take payments other than cash for in-person shipping methods like local pickup, you may wish to disable the appropriate payment gateways and force the customer to pay by cash for example. This quick guide shows you how to do exactly that.
Use your browser dev tools to inspect the element. You are looking for the radio button’s value
Again, use your browser dev tools to inspect the element. You are looking for the radio button’s value
Join forces with UnlimitedWP for an outsourced white label web development service you can truly rely on.