async_upload_{$type}

Advertisement

Summery Summery

Filters the returned ID of an uploaded attachment.

Syntax Syntax

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

Description Description

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

Parameters Parameters

$id

Uploaded attachment ID.

Source Source

File: wp-admin/async-upload.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.

Advertisement

Leave a Reply