Warning: This method has been deprecated. Use invp_get_the_price() instead.
Inventory_Presser_Vehicle::payments( string $zero_string = '', string $separator = '/' )
payments
Contents
Description Description
Outputs the down payment and recurring payment in $X Down/$Y Week format.
Parameters Parameters
- $zero_string
-
(string) (Optional) The string to output if the down payment is zero.
Default value: ''
- $separator
-
(string) (Optional) The string that separates the down payment from the recurring payment.
Default value: '/'
Return Return
(string) A string like $X Down/$Y Week
Source Source
File: includes/class-vehicle.php
function payments( $zero_string = '', $separator = '/' ) { return invp_get_the_price( $zero_string, $this->post_ID ); }
Expand full source code Collapse full source code View on Github
Changelog Changelog
Version | Description |
---|---|
12.0.0 | Introduced. |