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.

On This Page


Parameters Parameters

$options

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


Top ↑

Return Return

(array)


Top ↑

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