woocommerce_product_object_updated_props

woocommerce_product_object_updated_props

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

do_action('woocommerce_product_object_updated_props') is found 1 times:

  • /includes/data-stores/class-wc-product-data-store-cpt.php line 690
    			$this->update_lookup_table( $product->get_id(), 'wc_product_meta_lookup' );
    		}
    
    		// Trigger action so 3rd parties can deal with updated props.
    		do_action( 'woocommerce_product_object_updated_props', $product, $this->updated_props );
    
    		// After handling, we can reset the props array.
    		$this->updated_props = array();
    	}
    
    	/**