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.


Top ↑

Return Return

(string) An HTML <div> element containing a sentence that identifies the lot where this vehicle is located.


Top ↑

Source Source

File: includes/class-vehicle.php

		function location_sentence()
		{
			return invp_get_the_location_sentence( $this->post_ID );
		}


Top ↑

Changelog Changelog

Changelog
Version Description
12.0.0 Introduced.