Warning: This method has been deprecated. Use invp_get_the_location_sentence() instead.
Inventory_Presser_Vehicle::location_sentence()
location_sentence
Description Description
Creates a short sentence identifying the dealership address where this vehicle is located. If there is only one term in the locations taxonomy containing vehicles, this method returns an empty string.
Return Return
(string) An HTML <div> element containing a sentence that identifies the lot where this vehicle is located.
Source Source
File: includes/class-vehicle.php
function location_sentence() { return invp_get_the_location_sentence( $this->post_ID ); }
Expand full source code Collapse full source code View on Github
Changelog Changelog
Version | Description |
---|---|
12.0.0 | Introduced. |