inventory-presser/includes
-
Vehicle_URLs_By_VIN::add_vin_rewrite_rule()
Method: Adds a rewrite rule to redirect URLs like https://demo.inventorypresser.com/vin/JM1NB354940406328/
-
Vehicle_URLs_By_VIN::find_vehicle_url()
Method: Takes a VIN and finds its permalink. If the vehicle is not in inventory, the vehicle archive URL is returned.
-
Vehicle_URLs_By_VIN::redirect_vin_urls()
Method: Redirects the request to a vehicle permalink if a ‘vin’ query variable is present.