Hello,
how can I get the Post_id from the $event in the Hook?
// custom handler for event “Rockspots: User submitted a new post”
add_action( ‘voxel/app-events/post-types/rockspot/post:submitted’, function( $event ) {
// your custom code…
} );
I want to do something after the form is submitted.
But I can’t get the post_ID to manipulate the submitted Post.
please help,
Denis