Created
October 20, 2012 11:41
-
-
Save bonny/3923092 to your computer and use it in GitHub Desktop.
File Field, Extended Return Values
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Array | |
| ( | |
| [id] => 14 | |
| [is_image] => 1 | |
| [url] => http://example.com/wordpress/wp-content/uploads/2012/10/product-cat-2.jpeg | |
| [mime] => image/jpeg | |
| [link] => Array | |
| ( | |
| [full] => <a href='http://example.com/wordpress/wp-content/uploads/2012/10/product-cat-2.jpeg' title='product-cat-2'><img width="1024" height="768" src="http://example.com/wordpress/wp-content/uploads/2012/10/product-cat-2.jpeg" class="attachment-full" alt="product-cat-2" title="product-cat-2" /></a> | |
| [thumbnail] => <a href='http://example.com/wordpress/wp-content/uploads/2012/10/product-cat-2.jpeg' title='product-cat-2'><img width="150" height="112" src="http://example.com/wordpress/wp-content/uploads/2012/10/product-cat-2.jpeg" class="attachment-thumbnail" alt="product-cat-2" title="product-cat-2" /></a> | |
| [medium] => <a href='http://example.com/wordpress/wp-content/uploads/2012/10/product-cat-2.jpeg' title='product-cat-2'><img width="300" height="225" src="http://example.com/wordpress/wp-content/uploads/2012/10/product-cat-2.jpeg" class="attachment-medium" alt="product-cat-2" title="product-cat-2" /></a> | |
| [large] => <a href='http://example.com/wordpress/wp-content/uploads/2012/10/product-cat-2.jpeg' title='product-cat-2'><img width="584" height="438" src="http://example.com/wordpress/wp-content/uploads/2012/10/product-cat-2.jpeg" class="attachment-large" alt="product-cat-2" title="product-cat-2" /></a> | |
| [post-thumbnail] => <a href='http://example.com/wordpress/wp-content/uploads/2012/10/product-cat-2.jpeg' title='product-cat-2'><img width="384" height="288" src="http://example.com/wordpress/wp-content/uploads/2012/10/product-cat-2.jpeg" class="attachment-post-thumbnail" alt="product-cat-2" title="product-cat-2" /></a> | |
| [large-feature] => <a href='http://example.com/wordpress/wp-content/uploads/2012/10/product-cat-2.jpeg' title='product-cat-2'><img width="384" height="288" src="http://example.com/wordpress/wp-content/uploads/2012/10/product-cat-2.jpeg" class="attachment-large-feature" alt="product-cat-2" title="product-cat-2" /></a> | |
| [small-feature] => <a href='http://example.com/wordpress/wp-content/uploads/2012/10/product-cat-2.jpeg' title='product-cat-2'><img width="400" height="300" src="http://example.com/wordpress/wp-content/uploads/2012/10/product-cat-2.jpeg" class="attachment-small-feature" alt="product-cat-2" title="product-cat-2" /></a> | |
| ) | |
| [image] => Array | |
| ( | |
| [full] => <img width="1024" height="768" src="http://example.com/wordpress/wp-content/uploads/2012/10/product-cat-2.jpeg" class="attachment-full" alt="product-cat-2" title="product-cat-2" /> | |
| [thumbnail] => <img width="150" height="112" src="http://example.com/wordpress/wp-content/uploads/2012/10/product-cat-2.jpeg" class="attachment-thumbnail" alt="product-cat-2" title="product-cat-2" /> | |
| [medium] => <img width="300" height="225" src="http://example.com/wordpress/wp-content/uploads/2012/10/product-cat-2.jpeg" class="attachment-medium" alt="product-cat-2" title="product-cat-2" /> | |
| [large] => <img width="584" height="438" src="http://example.com/wordpress/wp-content/uploads/2012/10/product-cat-2.jpeg" class="attachment-large" alt="product-cat-2" title="product-cat-2" /> | |
| [post-thumbnail] => <img width="384" height="288" src="http://example.com/wordpress/wp-content/uploads/2012/10/product-cat-2.jpeg" class="attachment-post-thumbnail" alt="product-cat-2" title="product-cat-2" /> | |
| [large-feature] => <img width="384" height="288" src="http://example.com/wordpress/wp-content/uploads/2012/10/product-cat-2.jpeg" class="attachment-large-feature" alt="product-cat-2" title="product-cat-2" /> | |
| [small-feature] => <img width="400" height="300" src="http://example.com/wordpress/wp-content/uploads/2012/10/product-cat-2.jpeg" class="attachment-small-feature" alt="product-cat-2" title="product-cat-2" /> | |
| ) | |
| [image_src] => Array | |
| ( | |
| [full] => Array | |
| ( | |
| [0] => http://example.com/wordpress/wp-content/uploads/2012/10/product-cat-2.jpeg | |
| [1] => 1024 | |
| [2] => 768 | |
| [3] => | |
| ) | |
| [thumbnail] => Array | |
| ( | |
| [0] => http://example.com/wordpress/wp-content/uploads/2012/10/product-cat-2.jpeg | |
| [1] => 150 | |
| [2] => 112 | |
| [3] => | |
| ) | |
| [medium] => Array | |
| ( | |
| [0] => http://example.com/wordpress/wp-content/uploads/2012/10/product-cat-2.jpeg | |
| [1] => 300 | |
| [2] => 225 | |
| [3] => | |
| ) | |
| [large] => Array | |
| ( | |
| [0] => http://example.com/wordpress/wp-content/uploads/2012/10/product-cat-2.jpeg | |
| [1] => 584 | |
| [2] => 438 | |
| [3] => | |
| ) | |
| [post-thumbnail] => Array | |
| ( | |
| [0] => http://example.com/wordpress/wp-content/uploads/2012/10/product-cat-2.jpeg | |
| [1] => 384 | |
| [2] => 288 | |
| [3] => | |
| ) | |
| [large-feature] => Array | |
| ( | |
| [0] => http://example.com/wordpress/wp-content/uploads/2012/10/product-cat-2.jpeg | |
| [1] => 384 | |
| [2] => 288 | |
| [3] => | |
| ) | |
| [small-feature] => Array | |
| ( | |
| [0] => http://example.com/wordpress/wp-content/uploads/2012/10/product-cat-2.jpeg | |
| [1] => 400 | |
| [2] => 300 | |
| [3] => | |
| ) | |
| ) | |
| [metadata] => Array | |
| ( | |
| [width] => 1024 | |
| [height] => 768 | |
| [hwstring_small] => height='96' width='128' | |
| [file] => 2012/10/product-cat-2.jpeg | |
| [image_meta] => Array | |
| ( | |
| [aperture] => 0 | |
| [credit] => | |
| [camera] => | |
| [caption] => | |
| [created_timestamp] => 0 | |
| [copyright] => | |
| [focal_length] => 0 | |
| [iso] => 0 | |
| [shutter_speed] => 0 | |
| [title] => | |
| ) | |
| ) | |
| [post] => stdClass Object | |
| ( | |
| [ID] => 14 | |
| [post_author] => 1 | |
| [post_date] => 2012-10-11 08:00:08 | |
| [post_date_gmt] => 2012-10-11 08:00:08 | |
| [post_content] => | |
| [post_title] => product-cat-2 | |
| [post_excerpt] => | |
| [post_status] => inherit | |
| [comment_status] => open | |
| [ping_status] => open | |
| [post_password] => | |
| [post_name] => product-cat-2 | |
| [to_ping] => | |
| [pinged] => | |
| [post_modified] => 2012-10-11 08:00:08 | |
| [post_modified_gmt] => 2012-10-11 08:00:08 | |
| [post_content_filtered] => | |
| [post_parent] => 0 | |
| [guid] => http://example.com/wordpress/wp-content/uploads/2012/10/product-cat-2.jpeg | |
| [menu_order] => 0 | |
| [post_type] => attachment | |
| [post_mime_type] => image/jpeg | |
| [comment_count] => 0 | |
| [ancestors] => Array | |
| ( | |
| ) | |
| [filter] => raw | |
| ) | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment