Skip to content

Instantly share code, notes, and snippets.

@richardegil
Created October 17, 2012 20:52
Show Gist options
  • Save richardegil/3908101 to your computer and use it in GitHub Desktop.
Save richardegil/3908101 to your computer and use it in GitHub Desktop.
attachments
Array
(
[0] => stdClass Object
(
[ID] => 14
[post_author] => 21
[post_date] => 2012-10-17 16:29:48
[post_date_gmt] => 2012-10-17 16:29:48
[post_content] => This is the description for the second slide.
[post_title] => Slide 2
[post_excerpt] => This is the caption for the second slide.
[post_status] => inherit
[comment_status] => open
[ping_status] => open
[post_password] =>
[post_name] => slide-2
[to_ping] =>
[pinged] =>
[post_modified] => 2012-10-17 16:29:48
[post_modified_gmt] => 2012-10-17 16:29:48
[post_content_filtered] =>
[post_parent] => 13
[guid] => http://wptest.uth.tmc.edu/base/files/2012/10/slide-2.jpg
[menu_order] => 0
[post_type] => attachment
[post_mime_type] => image/jpeg
[comment_count] => 0
[filter] => raw
)
)
Array
(
[0] => stdClass Object
(
[ID] => 12
[post_author] => 21
[post_date] => 2012-10-17 16:28:11
[post_date_gmt] => 2012-10-17 16:28:11
[post_content] => This is the description for the first slide.
[post_title] => Slide 1
[post_excerpt] => This is the caption for the first slide.
[post_status] => inherit
[comment_status] => open
[ping_status] => open
[post_password] =>
[post_name] => slide-1
[to_ping] =>
[pinged] =>
[post_modified] => 2012-10-17 16:28:11
[post_modified_gmt] => 2012-10-17 16:28:11
[post_content_filtered] =>
[post_parent] => 11
[guid] => http://wptest.uth.tmc.edu/base/files/2012/10/slide-1.jpg
[menu_order] => 0
[post_type] => attachment
[post_mime_type] => image/jpeg
[comment_count] => 0
[filter] => raw
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment