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

Top ↑

See also


Top ↑

Parameters

$parsed_args

(array)An array of arguments.


Top ↑

Source

File: wp-admin/includes/media.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.1.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More