WC_AJAX::variation_bulk_action_variable_stock_status_onbackorder()private staticWC 1.0

Bulk action - Set Stock Status as On Backorder.

Method of the class: WC_AJAX{}

No Hooks.

Return

null. Nothing (null).

Usage

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

WC_AJAX::variation_bulk_action_variable_stock_status_onbackorder() code WC 9.1.2

private static function variation_bulk_action_variable_stock_status_onbackorder( $variations, $data ) {
	self::variation_bulk_set( $variations, 'stock_status', 'onbackorder' );
}