Tribe__Tickets__JSON_LD__Type::get_data()
Plugin: Event Tickets
Method: Fetches the JSON-LD data for this type of object
Plugin: Event Tickets
Method: Fetches the JSON-LD data for this type of object
Plugin: Event Tickets
Class: JSON_LD class used to register any other post type that is not an Event and has support for tickets
Plugin: Event Tickets
Method: Function used to attach the hook into wp_head
Plugin: Event Tickets
Method: On PHP 5.2 the child class doesn’t get spawned on the Parent one, so we don’t have access to that information on the other side unless we pass it around as a param so we throw __CLASS__ to the parent::instance() method to be able to spawn new instance of this class and save on the parent::$instances variable.
Plugin: Event Tickets
Method: Function called by the wp_head hook to attach the markup into the page if that’s the case, once does the setup calls the parent method to do the work to generate the script.
Plugin: Event Tickets
Filter Hook: This will allow you to change the type for the Rich Snippet, by default it will use the type Product for any Post type or Page. If this is runs in a book post type the filter becomes something like.