get_media_items
get_media_items ( $post_id, $errors )
Parameters:- (int) post_id Post ID.
- (array) errors Errors for attachment, if any.
Returns:- (string) HTML content for media items of post gallery.
Defined at: - Introduced in WordPress: 2.5.0
- Deprecated in WordPress: —
Description
Retrieves 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.