wpas_before_delete_temp_attachment

Signature do_action( ‘wpas_before_delete_temp_attachment’, $ticket_id, $user_id, $attachment ) Typical Usage This action hook is called before deleting temp attachment. Parameters $ticket_id: Integer ID of the ticket $user_id: Integer ID of the current...

wpas_before_ajax_file_upload

Signature do_action( ‘wpas_before_ajax_file_upload’, $ticket_id, $user_id ) Typical Usage This action hook is called before uploading attachments via ajax. Parameters $ticket_id: Integer ID of the ticket $user_id: Integer ID of the current logged in user...

wpas_attachments_after_delete

Signature do_action( ‘wpas_attachments_after_delete’, $post_id, $attachments, $args ) Typical Usage This action hook is called after deleting attachments. Parameters $post_id: Integer ID of the post we’re displaying attachments for $attachments:...

wpas_attachments_before_delete

Signature do_action( ‘wpas_attachments_before_delete’, $post_id, $attachments, $args ) Typical Usage This action hook is called before deleting attachments. Parameters $post_id: Integer ID of the post we’re displaying attachments for $attachments:...

wpas_attachments_filetypes

Signature apply_filters( ‘wpas_attachments_filetypes’, $file_types ); Typical Usage Modify the list of file types that can be accepted by the system.  Normally you can set these in the TICKETS->SETTINGS screen but this filter allows you to modify them...