Skip to content

Instantly share code, notes, and snippets.

@strangerstudios
Last active April 13, 2021 04:25
Show Gist options
  • Select an option

  • Save strangerstudios/cbd3ec5c5672034e6f8d32f2e17a83b3 to your computer and use it in GitHub Desktop.

Select an option

Save strangerstudios/cbd3ec5c5672034e6f8d32f2e17a83b3 to your computer and use it in GitHub Desktop.
Add your business address and VAT number (if required) to the Membership Invoice and Membership Confirmation pages.
function my_pmpro_invoice_address() {
?>
<li><strong>Paid To:</strong><br />My Business<br />123 The Street<br />City, XX 12345 USA</li>
<?php
//<li><strong>VAT Number:</strong> BG999999999</li>
}
add_action('pmpro_invoice_bullets_bottom', 'my_pmpro_invoice_address');
@laurenhagan0306
Copy link
Copy Markdown

This recipe is included in the blog post on "Display Your Business Address and VAT Number (optional) on Membership Invoice and Confirmation" at Paid Memberships Pro here: https://www.paidmembershipspro.com/display-business-address-vat-number-optional-membership-invoice-confirmation/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment