invp_get_the_stock_number( int|null $post_ID = null )
invp_get_the_stock_number
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
// No doc fee or rebate? Show the price by itself.
if ( empty( $doc_fee ) && empty( $rebate ) ) {
return wp_kses_post( apply_filters( 'invp_price_display', esc_html( INVP::currency_symbol() . number_format( $price, 0, '.', ',' ) ), $settings['price_display'], $post_ID ) );
Expand full source codeCollapse full source codeView on Github