WordPress at a glance
function is not described

WC_Product_Variable_Data_Store_Interface::sync_price() public WC 1.0

Sync variable product prices with children.

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

No Hooks.

Return

Null. Nothing.

Usage

$WC_Product_Variable_Data_Store_Interface = new WC_Product_Variable_Data_Store_Interface();
$WC_Product_Variable_Data_Store_Interface->sync_price( $product );
$product(WC_Product|int) (required) (passed by reference — &)
Product object or ID.

Code of WC_Product_Variable_Data_Store_Interface::sync_price() WC 5.0.0

<?php
public function sync_price( &$product );