invp_get_the_youtube_url( int|null $post_ID = null )
Returns this vehicle’s YouTube video URL or empty string.
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) This vehicle’s YouTube URL or empty string
Source Source
File: includes/template-tags.php
Expand full source codeCollapse full source codeView on Github