Inventory_Presser_WPForms::extract_post_id_from_value( string $value )
Given a submitted form value like “2020 Toyota Sienna LE, 10329A”, find and return the vehicle’s post ID.
Parameters Parameters
- $value
-
(Required) An <option> value of a drop down containing vehicles in lead form.
Return Return
(int)
Source Source
File: includes/integrations/class-wpforms.php
Expand full source code Collapse full source code View on Github