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.


Top ↑

Return Return

(int)


Top ↑

Source Source

File: includes/integrations/class-wpforms.php