Inventory_Presser_Shortcode_Sort_By::add_down_payment_to_sort_dropdown( array $options )
Adds a down payment option to the dropdown on sites that show down payments instead of prices.
Contents
Parameters Parameters
- $options
-
(array) (Required) An array of sort fields and directions.
Return Return
(array)
Source Source
File: includes/shortcode/class-shortcode-sort-by.php
public function add_down_payment_to_sort_dropdown( $options ) { $options['down_payment'] = array( 'ASC' => __( 'Down Payment Low', '_dealer' ), 'DESC' => __( 'Down Payment High', '_dealer' ), ); return $options; }
Expand full source code Collapse full source code View on Github