invp_is_featured( int $post_ID = null )

invp_is_featured


Description Description

Is this vehicle featured in slideshows?


Top ↑

Parameters Parameters

$post_ID

(int) (Optional)

Default value: null


Top ↑

Return Return

(bool)


Top ↑

Source Source

File: includes/template-tags.php

function invp_is_featured( $post_ID = null )
{
	if( empty( $post_ID ) )
	{
		$post_ID = get_the_ID();
	}
	return ! empty( INVP::get_meta( 'featured', $post_ID ) );
}