Tribe__Tickets_Plus__Commerce__WooCommerce__Promoter_Observer::tickets_generated( int $product_id, int $order_id, int $quantity, int $post_id )
Notify the post ID where the attendees were created.
Contents
Parameters
- $product_id
-
(int) (Required) RSVP ticket post ID
- $order_id
-
(int) (Required) ID of the WooCommerce order
- $quantity
-
(int) (Required) Quantity ordered
- $post_id
-
(int) (Required) ID of event
Source
File: src/Tribe/Commerce/WooCommerce/Promoter_Observer.php
public function tickets_generated( $product_id, $order_id, $quantity, $post_id ) { $this->observer->notify( $post_id ); }
Changelog
Version | Description |
---|---|
4.10.1.2 | Introduced. |