invp_get_the_beam( int|null $post_ID = null )
invp_get_the_beam
Contents
Description Description
Template tag. Boat field. A boat's width at its widest point.
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
(double)
Source Source
File: includes/template-tags.php
function invp_get_the_beam( $post_ID = null ) { if ( empty( $post_ID ) ) { $post_ID = get_the_ID(); } return INVP::get_meta( 'beam', $post_ID ); }
Expand full source code Collapse full source code View on Github