Warnings::hook()
Hooks actions for showing warnings
Source
File: src/Tribe/Editor/Warnings.php
public function hook() {
add_action( 'tribe_events_tickets_new_ticket_buttons', [ $this, 'show_recurring_event_warning_message' ] );
add_action( 'tribe_events_tickets_new_ticket_buttons', [ $this, 'add_commerce_provider_warning' ] );
}
Changelog
| Version | Description |
|---|---|
| 5.0.4 | Introduced. |