do_action( 'wpas_after_close_ticket', $ticket_id, $update, $user_id );
This action hook gets fired after a ticket is closed.
function wpas_my_after_close_ticket( $ticket_id, $update, $user_id ) { // log the ticket being closed... error_log( 'closing ticket: ' . (string) $ticket_id ) ; } add_action('wpas_after_close_ticket', 'wpas_my_after_close_ticket', 10, 3);
Version 3.0.0