apply_filters( "{$action}_prefilter", array $file )

Filters the data for a file before it is uploaded to ClassicPress.


Description

The dynamic portion of the hook name, $action, refers to the post action.


Parameters

$file

(array) An array of data for a single file.


Source

File: wp-admin/includes/file.php

View on GitHub



Changelog

Changelog
Version Description
WP-2.9.0 as 'wp_handle_upload_prefilter'. Introduced.