get_media_item_args WordPress Filter Hook
The get_media_item_args hook is used to modify the arguments used when retrieving a media item. This hook is called when a media item is being retrieved from the database.
apply_filters( 'get_media_item_args', array $parsed_args ) #
Filters the arguments used to retrieve an image for the edit image form.
Description
See also
Parameters
- $parsed_args
(array)An array of arguments.
Source
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |