Wc Product Crud Cache

Read and write WooCommerce products safely through `WC_Product` CRUD while accounting for the WooCommerce 11.0 `product_instance_caching` request cache. Covers view versus edit context, save and invalidation boundaries, direct WordPress meta writes, raw SQL hazards, variation-parent synchronization, taxonomy recount filtering, bulk jobs, and tests with the feature both enabled and disabled. Use when code calls `wc_get_product()`, mutates product or variation data, imports catalogs, changes product term counts, reports stale values, or depends on repeated product loads returning fresh objects.

Lonsdale201 Updated

File contents

Lonsdale201/wp-agent-skills/tree/main/woocommerce/wc-product-crud-cache commit 9a91d4139a

Frequently asked questions

npx skillmds@latest add lonsdale201/wc-product-crud-cache