Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Adjust VAT amount for VAT Add On PMPro
<?php
/**
* Adjust VAT amount charged from VAT Tax Add On Paid Memberships Pro.
* Adjust the code to your liking/needs.
* https://www.paidmembershipspro.com/create-a-plugin-for-pmpro-customizations/
*/
function adjust_my_pmpro_vat( $vat ) {
$vat['DE'] = 0.25; //Change VAT to 25% for Germany.
return $vat;
}
add_filter( 'pmpro_vat_by_country', 'adjust_my_pmpro_vat', 10, 1 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.