get_media_items
get_media_items ( $post_id, $errors )
Parameters:- (int) post_id Optional. Post ID.
- (array) errors Errors for attachment, if any.
Returns:Defined at: - Introduced in WordPress: 2.5.0
- Deprecated in WordPress: —
Description
Retrieve HTML for media items of post gallery.The HTML markup retrieved will be created for the progress of SWF Upload
component. Will also create link for showing and hiding the form to modify
the image attachment.