invp_get_the_availability( int|null $post_ID = null )

Template tag. Returns a string like “For Sale” or “Sold.”


Parameters Parameters

$post_ID

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

Default value: null


Top ↑

Return Return

(string)


Top ↑

Source Source

File: includes/template-tags.php

function invp_get_the_availability( $post_ID = null ) {
	return INVP::get_meta( 'availability', $post_ID );
}

/**
 * Template tag. Boat field. A boat's width at its widest point.