wphooks.info - async_upload_{$type}

async_upload_{$type}

(trunk - 5.0-alpha-42177)

The hook occurs in the following file:

wp-admin/async-upload.php:
 97
 98
 99
100
101
102
103
104
105
106
107
108
	/**
	 * Filters the returned ID of an uploaded attachment.
	 *
	 * The dynamic portion of the hook name, `$type`, refers to the attachment type,
	 * such as 'image', 'audio', 'video', 'file', etc.
	 *
	 * @since 2.5.0
	 *
	 * @param int $id Uploaded attachment ID.
	 */
	echo apply_filters( "async_upload_{$type}", $id );
}