WC_AJAX::variation_bulk_action_variable_stock_status_instock()private staticWC 1.0

Bulk action - Set Stock Status as In Stock.

Метод класса: WC_AJAX{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$result = WC_AJAX::variation_bulk_action_variable_stock_status_instock( $variations, $data );
$variations(массив) (обязательный)
List of variations.
$data(массив) (обязательный)
Data to set.

Код WC_AJAX::variation_bulk_action_variable_stock_status_instock() WC 8.9.0

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