WordPress at a glance
function is not described

WC_Product_Data_Store_Interface::sort_all_product_variations() public WC 1.0

Make sure all variations have a sort order set so they can be reordered correctly.

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

No Hooks.

Return

Null. Nothing.

Usage

$WC_Product_Data_Store_Interface = new WC_Product_Data_Store_Interface();
$WC_Product_Data_Store_Interface->sort_all_product_variations( $parent_id );
$parent_id(int) (required)
Parent ID.

Code of WC_Product_Data_Store_Interface::sort_all_product_variations() WC 5.0.0

<?php
public function sort_all_product_variations( $parent_id );