Awesome Support Developer Documentation

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: Array
  • $args: Array

Located In

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

First Available

Version: 3.3.3


More Topics In Action Hooks

Share: