Tribe__Tickets_Plus__Privacy::add_meta_fields_tpp( $data, $attendee )
Add custom meta fields to the Tribe Commerce data export
Contents
Parameters
- $data
-
(Required)
- $page
-
(object) (Required)
Return
(array)
Source
File: src/Tribe/Privacy.php
public function add_meta_fields_tpp( $data, $attendee ) {
$product_id = get_post_meta( $attendee->ID, '_tribe_tpp_product', true );
$data = $this->add_meta_fields( $data, $attendee, $product_id );
return $data;
}
Changelog
| Version | Description |
|---|---|
| 4.7.6 | Introduced. |