Warning: This method has been deprecated. Use invp_get_the_price() instead.

Inventory_Presser_Vehicle::price( string $zero_string = '' )


Description Description

Returns the price as a dollar amount except when it is zero. Returns the $zero_string when the price is zero.

Top ↑

Parameters Parameters


(string) (Optional) The text to display when the price is zero

Default value: ''

Top ↑

Return Return


Top ↑

Source Source

File: includes/class-vehicle.php

		function price( $zero_string = '' )
					__( '%s was deprecated in version 12.0.0. Use %s instead.', 'inventory-presser' ),
			return invp_get_the_price( $zero_string. $this->post_ID );

Top ↑

Changelog Changelog

Version Description
12.0.0 Introduced.