Vehicle_URLs_By_VIN::find_vehicle_url( string $vin )

find_vehicle_url


Description Description

Takes a VIN and finds its permalink. If the vehicle is not in inventory, the vehicle archive URL is returned.


Top ↑

Parameters Parameters

$vin

(Required) A vehicle identification number


Top ↑

Return Return

(string) A vehicle permalink or the link to the vehicle archive.


Top ↑

Source Source

File: includes/class-vehicle-urls-by-vin.php