Vehicle_URLs_By_VIN::find_vehicle_url( string $vin )
find_vehicle_url
Contents
Description Description
Takes a VIN and finds its permalink. If the vehicle is not in inventory, the vehicle archive URL is returned.
Parameters Parameters
- $vin
-
(Required) A vehicle identification number
Return Return
(string) A vehicle permalink or the link to the vehicle archive.
Source Source
File: includes/class-vehicle-urls-by-vin.php
Expand full source code Collapse full source code View on Github