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.8.1

do_action('woocommerce_update_product') is found 1 times:

  • /includes/data-stores/class-wc-product-data-store-cpt.php line 393
    390
    391
    392
    393
    394
    395
    396
    397
    398
    399
        $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: