Making WordPress.org


Ignore:
Timestamp:
08/01/2016 09:35:00 PM (8 years ago)
Author:
iandunn
Message:

WordCamp QBO: Add WPSC's Tax ID and the sponsor's VAT ID to invoices.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-qbo-client/wordcamp-qbo-client.php

    r3392 r3760  
    343343                'email-address' => is_email(            $sponsor_meta['_wcpt_sponsor_email_address'][0] ),
    344344                'phone-number'  => sanitize_text_field( $sponsor_meta['_wcpt_sponsor_phone_number' ][0] ),
     345                'vat-number'    => sanitize_text_field( $sponsor_meta['_wcpt_sponsor_vat_number'   ][0] ),
    345346
    346347                'address1' => sanitize_text_field( $sponsor_meta['_wcpt_sponsor_street_address1'][0] ),
     
    377378    /**
    378379     * Get the sponsorship level name assigned to a sponsor
    379      * 
     380     *
    380381     * @param int $sponsor_id
    381382     *
Note: See TracChangeset for help on using the changeset viewer.