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.


Parameters

$options

(array) (Required) An array of sort fields and directions.


Return

(array)


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;
	}