Tribe__Tickets__Editor__Template__Overwrite::hook()
Hook into the Events Template single page to allow Blocks to be properly reordered
Return
(void)
Source
File: src/Tribe/Editor/Template/Overwrite.php
public function hook() {
add_action( 'the_post', array( $this, 'include_blocks_in_other_types' ) );
add_action( 'tribe_pre_get_view', array( $this, 'include_blocks_in_events' ) );
add_action( 'tribe_tickets_tickets_hook', array( $this, 'tickets_hook' ) );
}
Changelog
| Version | Description |
|---|---|
| 4.9 | Introduced. |