invp_get_the_book_value( int|null $post_ID = null )

Returns the higher of the two book value prices among NADA Guides and Kelley Blue Book.


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

function invp_get_the_book_value( $post_ID = null ) {
	if ( empty( $post_ID ) ) {
		$post_ID = get_the_ID();
	}
	return INVP::currency_symbol() . number_format( invp_get_raw_book_value( $post_ID ), 0, '.', ',' );
}