Awesome Support Developer Documentation

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

Located In

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

First Available

Version: 5.1.1


More Topics In Action Hooks

Share: