get_post_meta( ... )

Retrieves a post meta field for the given post ID.

Parameters:
  • $post_id int
  • $key string
  • $single bool