invp_get_the_youtube_embed( int|null $post_ID = null )
Returns the YouTube embed code for this vehicle or an empty string.
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_youtube_embed( $post_ID = null ) { return INVP::get_meta( 'youtube_embed', $post_ID ); }
Expand full source codeCollapse full source codeView on Github