invp_have_carfax_report( int|null $post_ID = null )

invp_have_carfax_report


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

(bool)


Source

File: includes/template-tags.php

function invp_have_carfax_report( $post_ID = null ) {
	if ( empty( $post_ID ) ) {
		$post_ID = get_the_ID();
	}

	return ! empty( INVP::get_meta( 'carfax_have_report', $post_ID ) );
}