woocommerce_product_object_updated_props хук-событиеWC 1.0

Использование

add_action( 'woocommerce_product_object_updated_props', 'wp_kama_woocommerce_product_object_updated_props_action', 10, 2 );

/**
 * Function for `woocommerce_product_object_updated_props` action-hook.
 * 
 * @param  $product       
 * @param  $updated_props 
 *
 * @return void
 */
function wp_kama_woocommerce_product_object_updated_props_action( $product, $updated_props ){

	// action...
}
$product
-
$updated_props
-

Где вызывается хук

WC_Product_Data_Store_CPT::handle_updated_props()
woocommerce_product_object_updated_props
woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php 690
do_action( 'woocommerce_product_object_updated_props', $product, $this->updated_props );

Где используется хук в WooCommerce

Использование не найдено.