invp_get_the_availability( int|null $post_ID = null )
Template tag. Returns a string like “For Sale” or “Sold.”
On This Page
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
Return Return
(string)
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.
Expand full source codeCollapse full source codeView on Github