WC_AJAX::variation_bulk_action_variable_regular_price_decrease()private staticWC 1.0

Bulk action - Decrease Regular Prices.

Method of the class: WC_AJAX{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = WC_AJAX::variation_bulk_action_variable_regular_price_decrease( $variations, $data );
$variations(array) (required)
List of variations.
$data(array) (required)
Data to set.

WC_AJAX::variation_bulk_action_variable_regular_price_decrease() code WC 8.9.0

private static function variation_bulk_action_variable_regular_price_decrease( $variations, $data ) {
	self::variation_bulk_adjust_price( $variations, 'regular_price', '-', wc_clean( $data['value'] ) );
}