upload_post_params WordPress Filter Hook
The upload_post_params hook is used to filter the parameters that are used when a user uploads a post to a WordPress site. This hook allows you to modify the parameters that are used by the WordPress uploader, which can be useful when you need to change the way that WordPress handles uploads.
apply_filters( 'upload_post_params', array $post_params ) #
Filters the media upload post parameters.
Parameters
- $post_params
(array)An array of media upload parameters used by Plupload.
Source
Changelog
Version | Description |
---|---|
3.3.0 | |
3.1.0 | Introduced. |