invp_is_certified_preowned( int|null $post_ID = null )

Is this vehicle certified pre-owned?

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


Top ↑

Return Return

(bool) True if this vehicle is certified pre-owned


Top ↑

Source Source

File: includes/template-tags.php

function invp_is_certified_preowned( $post_ID = null ) {
	return ! empty( INVP::get_meta( 'certified_preowned', $post_ID ) );
}