invp_get_the_drive_type( int $post_ID = null )

invp_get_the_drive_type


Description Description

Template tag. Returns the drive type, or a description of how many driven wheels are on the vehicle.


Top ↑

Parameters Parameters

$post_ID

(int) (Optional)

Default value: null


Top ↑

Return Return

(string)


Top ↑

Source Source

File: includes/template-tags.php

function invp_get_the_drive_type( $post_ID = null )
{
	if( empty( $post_ID ) )
	{
		$post_ID = get_the_ID();
	}
	return INVP::get_meta( 'drive_type', $post_ID );
}