get_post_custom ( $post_id = 0 )
- (int) $post_id Optional. Post ID. Default is ID of the global $post.
- (array) Post meta for the given post.
- Introduced in WordPress: 1.2.0
- Deprecated in WordPress: —
Retrieve post meta fields, based on post ID.
The post meta fields are retrieved from the cache where possible,
so the function is optimized to be called more than once.