If I read the AI1EC Event properties correctly, you should be able to do this:
$post_id = $instance->get('post')->post_id;
See if that works.
If I read the AI1EC Event properties correctly, you should be able to do this:
$post_id = $instance->get('post')->post_id;
See if that works.