by Ante Laca | Sep 26, 2018
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...
by Ante Laca | Sep 26, 2018
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...
by Ante Laca | Sep 26, 2018
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:...
by Ante Laca | Sep 26, 2018
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:...
Recent Comments