Module::hooks()
Registers all actions/filters
Source
File: src/Tickets/Commerce/Module.php
public function hooks() {
// if the hooks have already been bound, don't do it again
if ( $this->is_loaded ) {
return false;
}
// add_filter( 'post_updated_messages', [ $this, 'updated_messages' ] );
// add_action( 'init', tribe_callback( 'tickets.commerce.paypal.orders.report', 'hook' ) );
// add_action( 'tribe_tickets_attendees_page_inside', tribe_callback( 'tickets.commerce.paypal.orders.tabbed-view', 'render' ) );
// add_filter( 'tribe_tickets_stock_message_available_quantity', tribe_callback( 'tickets.commerce.paypal.orders.sales', 'filter_available' ), 10, 4 );
// add_action( 'admin_init', tribe_callback( 'tickets.commerce.paypal.oversell.request', 'handle' ) );```
}
Changelog
| Version | Description |
|---|---|
| 5.1.9 | Introduced. |