invp_is_pending( int|null $post_ID = null )

Returns true if this vehicle is pending.


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

(bool)


Top ↑

Source Source

File: includes/template-tags.php

 * Returns the YouTube embed code for this vehicle or an empty string.
 *
 * @param  int|null $post_ID     The post ID of a vehicle. Must be passed when using this method outside the loop.
 * @return string
 */
function invp_get_the_youtube_embed( $post_ID = null ) {