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

do_action('woocommerce_update_product') is found 1 times:

  • /includes/data-stores/class-wc-product-data-store-cpt.php line 275
    			->maybe_schedule_adjust_download_permissions( $product );
    
    		$product->apply_changes();
    
    		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: