invp_get_the_doors( int|null $post_ID = null )
invp_get_the_doors
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_doors( $post_ID = null ) { $value = INVP::get_meta( 'doors', $post_ID ); return 0 === (int) $value ? '' : $value; }
Expand full source codeCollapse full source codeView on Github