Awesome Support Developer Documentation

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 logged in user
  • $attachment: String Attachment filename

Located In

  • File: includes/file-uploader/class-file-uploader.php
  • Function: WPAS_File_Upload::ajax_delete_temp_attachment

First Available

Version: 5.1.1


More Topics In Action Hooks

Share: