Description
Outputs the post latitude.
Usage
<?php wpgeo_latitude( $post_id = null ); ?>
Parameters
$post_id
(int) Post ID. Defaults to the current post in the loop.
Examples
Get the latitude for the current post in the loop.
<?php wpgeo_latitude(); ?>
Get the latitude for post ID 30.
<?php wpgeo_latitude( 30 ); ?>
Notes
See also: get_wpgeo_latitude()
Change Log
Since: 3.1.1
Source File
wpgeo_latitude() is located in wp-includes/templates.php.
Related
get_wpgeo_latitude, get_wpgeo_longitude, wpgeo_longitude