Ticket Plugin API

We offer some hooks within the basic plugin to extend functionalities. For now it is not official released and public. It can be changed. The information here is solely as a reference for our developers and implementation partners.

Hook prefix name saso_eventtickets_ followed typically by php context and the function name.

The context is based on the usage. index.php is called MAIN. The following list will only contain the hook name without the hook prefix!

Filter Hooks

The plugin is calling filter hooks, so that the functions can be extended. No guarantee, that this will work for ever. They can be changed from version to version. 

  • main_getNewPDFObject
  • main_options_page
  • main_isUserAllowedToAccessAdminArea
  • replaceShortcode
  • main_options_page
  • main_setTicketScannerJS
  • main_getCodesTextAsShortList
  • main_getMyCodeText
  • main_replaceShortcode
  • main_replaceShortcode_2
  • db_system_installiereTabellen
  • db_addMissingFelder
  • admin_getSupportInfos
  • admin_wpdocs_custom_timezone_string
  • admin_getOptions
  • admin_getMetaOfCode
  • admin_removeUsedInformationFromCodeBulk
  • getAuthtokens
  • getAuthtoken
  • addAuthtoken
  • editAuthtoken
  • getList
  • getLists
  • addList
  • editList
  • admin_getCodes_searchword
  • admin_getCustomerName
  • authtoken_checkAccessForAuthtoken
  • core_clearCode
  • core_getMetaObjectAllowedReplacementTags
  • core_getQRCodeContent
  • core_replaceURLParameters
  • core_getTicketURLBase
  • core_getTicketId
  • core_getTicketURL
  • core_getOrderTicketsURL
  • core_getTicketScannerURL
  • core_getTicketURLPath
  • core_getTicketURLComponents
  • frontend_isUsed
  • frontend_checkTicket
  • frontend_addNewUsedEntryToMetaObject
  • frontend_setStatusMessages
  • frontend_displayMessageValue
  • beforeCheckCodePre
  • beforeCheckCodePre
  • afterCheckCodePre
  • afterCheckCode
  • options_get_wcTicketAttachTicketToMailOf
  • ticket_get_expiration
  • ticket_rest_permission_callback
  • ticket_isProductAllowedByAuthToken
  • ticket_is_ticket_code_orderticket
  • ticket_retrieve_order_ticket
  • filter_updateExpirationInfo
  • ticket_rest_redeem_ticket
  • ticket_redeem_order_ticket
  • ticket_redeem_ticket
  • ticket_calcDateStringAllowedRedeemFrom
  • ticket_get_is_paid_statuses
  • ticket_getTicketScannerHTMLBoilerplate
  • ticket_getOrderTicketsInfos
  • woocommerce-hooks_woocommerce_email_attachments
  • woocommerce-hooks_woocommerce_order_item_display_meta_key
  • woocommerce-hooks_woocommerce_order_item_display_meta_value

Action Hooks

  • main_listener_upgrader_process_complete
  • main_init_frontend
  • main_init_backend
  • main_WooCommercePluginLoaded
  • main_plugin_deactivated
  • main_WooCommercePluginLoaded
  • main_plugin_activated
  • main_initialize_plugin
  • main_show_user_profile
  • main_register_options_page
  • main_options_page
  • executeAdminSettings
  • main_setTicketScannerJS
  • main_replaceShortcode
  • db_system_installiereTabellen
  • db_repairTables
  • removeUserRegistrationFromCode
  • editUseridForUserRegistrationFromCode
  • removeUsedInformationFromCode
  • editUseridForUsedInformationFromCode
  • admin_removeAuthtoken
  • removeList
  • admin_addWoocommerceInfoToCode
  • admin_removeWoocommerceOrderInfoFromCode
  • admin_removeWoocommerceRstrPurchaseInfoFromCode
  • admin_removeWoocommerceTicketForCode
  • admin_redeemWoocommerceTicketForCode
  • admin_setWoocommerceTicketInfoForCode
  • admin_addCode
  • admin_editCode
  • admin_removeCodes
  • performJobsAfterDBUpgraded
  • authtoken_addAuthtoken
  • authtoken_editAuthtoken
  • authtoken_removeAuthtoken
  • base_increaseGlobalTicketCounter
  • core_triggerWebhooks
  • frontend_markAsUsed
  • frontend_countConfirmedStatus
  • frontend_registerToCode
  • options_resetAllOptionValuesToDefault
  • options_deleteAllOptionValues
  • options_deleteOption
  • changeOption
  • ticket_cronJobDaily
  • ticket_checkForPremiumSerialExpiration
  • ticket_hideAllTicketProductsWithExpiredEndDate
  • trackIPForTicketScannerCheck
  • ticket_redeem_order_ticket
  • ticket_initFilterAndActions
  • ticket_initFilterAndActionsTicketScanner
  • trackIPForICSDownload
  • trackIPForPDFOneView
  • ticket_redeemTicket
  • woocommerce-hooks_woocommerce_order_status_changed
  • woocommerce-hooks_woocommerce_order_item_meta_start
  • woocommerce-hooks_woocommerce_email_order_meta
  • woocommerce-hooks_woocommerce_new_order
  • woocommerce-hooks_woocommerce_delete_order_item
  • woocommerce-hooks_set_wcTicketSetOrderToCompleteIfAllOrderItemsAreTickets
de_DEDeutsch

Login