A hook after creating an event
-
I found tribe_aggregator_after_insert_post hook in the documentation(https://docs.theeventscalendar.com/reference/hooks/tribe_aggregator_after_insert_post/), but it does not work.
For example, in my theme’s functions.php I add the following and nothing happens after I create or save an event:
function myfunction( $event, $item, $record ) { die(var_dump( $event )); } add_action( 'tribe_aggregator_after_insert_post', 'myfunction' );
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘A hook after creating an event’ is closed to new replies.