apply_filters( "async_upload_{$type}", int $id )

Filters the returned ID of an uploaded attachment.


Description

The dynamic portion of the hook name, $type, refers to the attachment type, such as ‘image’, ‘audio’, ‘video’, ‘file’, etc.


Parameters

$id

(int) Uploaded attachment ID.


Source

File: wp-admin/async-upload.php

View on GitHub


Changelog

Changelog
Version Description
WP-2.5.0 Introduced.