Membership Pro - Add Taxes / VAT

Hi All,

I've had a dig through and found a simple way of adding taxes or VAT to the billing within Membership Pro.

Add the following code to your theme or plugin:

add_filter('ms_invoice_tax_rate','my_invoice_tax');
function my_invoice_tax($rate){ return 20;	} # Percentage

add_filter('ms_invoice_tax_name','my_invoice_tax_name');
function my_invoice_tax_name($rate){ return '20%';	}

Please note, this will only add the tax or VAT to new invoices, so you will need to amend the prices of any current memberships to reflect the change.

All the best,
Ian