WordPress at Your Fingertips
function is not described

WC_AJAX::variation_bulk_action_variable_stock_status_onbackorder() private WC 1.0

Bulk action - Set Stock Status as On Backorder.

{} It's a method of the class: WC_AJAX{}

No Hooks.


null. Nothing.


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

Code of WC_AJAX::variation_bulk_action_variable_stock_status_onbackorder() WC 5.9.0

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