invp_get_the_odometer( string $append = '', int $post_ID = null )

Template tag. Returns the odometer formatted as a number with comma separators if it is numeric. Returns any other non-zero value without any formatting. Adds the $append value to any return value but an empty string.

Parameters Parameters


(Optional) A string to append after the odometer value. If the vehicle has no odometer value, then this parameter is ignored.

Default value: ''


(Optional) The post ID of a vehicle. Must be passed when using this method outside the loop.

Default value: null

Top ↑

Return Return


Top ↑

Source Source

File: includes/template-tags.php