dmo_get_postal_code

Returns the raw contents of the Postal Code / ZIP field of the specified Place. This function returns identical results to dmo_get_zip.

Syntax

dmo_get_postal_code($post_id)

Arguments

$post_id

Default Value: When used within the loop, this value defaults to the current Post ID. When used outside the loop, this value must be supplied.

Acceptable Values: A single integer representing a WordPress Post ID that corresponds to a Place.