invp_get_the_transmission( int|null $post_ID = null )
invp_get_the_transmission
Parameters Parameters
- $post_ID
-
(int|null) (Optional) The post ID of a vehicle. Must be passed when using this method outside the loop.
Default value: null
Return Return
(string)
Source Source
File: includes/template-tags.php
$output .= sprintf(
'<span class="invp-price-line invp-price-line-rebate">- %s %s</span>',
esc_html( apply_filters( 'invp_rebate_label', __( 'Rebate', 'inventory-presser' ), $post_ID ) ),
esc_html( invp_format_currency( $rebate ) )
);
}
$output .= sprintf(
'<span class="invp-price-line invp-price-line-total">%s %s</span>',
esc_html( apply_filters( 'invp_price_total_label', __( 'Total', 'inventory-presser' ), $post_ID ) ),
esc_html( invp_format_currency( $price + $doc_fee - $rebate ) )
);
return wp_kses_post(
apply_filters(
'invp_price_display',
sprintf( '<span class="invp-price-breakdown">%s</span>', $output ),
$settings['price_display'],
$post_ID
)
);
case 'down_and_payment':
$string = '';
$down_payment = invp_get_the_down_payment( $post_ID );
$payment = invp_get_the_payment( $post_ID );
if ( ! empty( $down_payment ) ) {
Expand full source codeCollapse full source codeView on Github