Awesome Support Developer Documentation

wpas_after_close_ticket


Signature

do_action( 'wpas_after_close_ticket', $ticket_id, $update, $user_id );

Typical Usage

This action hook gets fired after a ticket is closed.

Example Usage

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);

First Available

Version 3.0.0


More Topics In Action Hooks

Share: