WordPress at Your Fingertips
function is not described

WC_Product_Variable_Data_Store_Interface::sync_variation_names() public WC 1.0

Syncs all variation names if the parent name is changed.

{} 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_variation_names( $product, $previous_name, $new_name );
$product(WC_Product) (required) (passed by reference — &)
Product object.
$previous_name(string)
Previous name.
Default: ''
$new_name(string)
New name.
Default: ''

Code of WC_Product_Variable_Data_Store_Interface::sync_variation_names() WC 5.7.1

public function sync_variation_names( &$product, $previous_name = '', $new_name = '' );