Navigation

Search

ApproveAttachments

Description

Approves the specified attachments.

Syntax

void ApproveAttachments (array $attachments)



Parameter $attachments

Expected type: Array of Integers
Description: An array of IDs for attachments that should be approved


Notes

  • Post-moderation function. Added in SMF 2.0.
  • Called by ApproveAttach()
View all versions of this function