invp_get_the_carfax_url_report( $post_ID = null )
Source Source
File: includes/template-tags.php
function invp_get_the_carfax_url_report( $post_ID = null ) { if( empty( $post_ID ) ) { $post_ID = get_the_ID(); } $raw = INVP::get_meta( 'carfax_url_report', $post_ID ); if( ! empty( $raw ) ) { return $raw; } /** * Fallback to the pre-August-2019 URLs, save for the partner * querystring parameter. */ return 'http://www.carfax.com/VehicleHistory/p/Report.cfx?vin=' . invp_get_the_VIN(); }
Expand full source code Collapse full source code View on Github