WordPress at Your Fingertips
function is not described

WC_Product_Grouped_Data_Store_CPT::handle_updated_props() protected WC 3.0.0

Handle updated meta props after updating meta data.

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

No Hooks.

Return

null. Nothing.

Usage

// protected - for code of main (parent) or child class
$result = $this->handle_updated_props( $product );
$product(WC_Product) (required) (passed by reference — &)
Product object.

Changelog

Since 3.0.0 Introduced.

Code of WC_Product_Grouped_Data_Store_CPT::handle_updated_props() WC 5.7.1

protected function handle_updated_props( &$product ) {
	if ( in_array( 'children', $this->updated_props, true ) ) {
		$this->update_prices_from_children( $product );
	}
	parent::handle_updated_props( $product );
}