Tribe__Tickets__Tickets::get_event_key()
Returns the meta key used to link ticket types with the base event.
If the meta key cannot be determined the returned string will be empty. Subclasses can override this if they use a key other than ‘event_key’ for this purpose.
Return
(string)
Source
File: src/Tribe/Tickets.php
public function get_event_key() { if ( property_exists( $this, 'event_key' ) ) { // EDD module uses a static event_key so we need to check for it or we'll fatal $prop = new ReflectionProperty( $this, 'event_key' ); if ( $prop->isStatic() ) { return $prop->get_value(); } return $this->event_key; } return ''; }