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.


null. Nothing.


$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.
Default: ''
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 = '' );