woocommerce_update_product

woocommerce_update_product

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

do_action('woocommerce_update_product') is found 1 times:

  • /includes/data-stores/class-wc-product-data-store-cpt.php line 351
     
    		$product->apply_changes();
    
    		// phpcs:ignore WooCommerce.Commenting.CommentHooks.MissingHookComment
    		do_action( 'woocommerce_update_product', $product->get_id(), $product );
    	}
    
    	/**
    	 * Method to delete a product from the database.
    	 *
    	 * @param WC_Product $product Product object.
    

See this hook used in plugins: