invp_get_the_youtube_embed( int|null $post_ID = null )

Returns the YouTube embed code for this vehicle or an 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


Top ↑

Return Return

(string)


Top ↑

Source Source

File: includes/template-tags.php

	/**
	 * If we have transmission speeds "6" and transmission string