This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
Store Customization > Enable DELETE request for the ai/patterns endpoint #11873
Labels
focus: ai
Issues related to AI generated content in blocks and patterns
focus: patterns
WooCommerce patterns
team: Kirigami & Origami
Enable the DELETE request for the
ai/patterns
route within Store API to ensure all patterns have content reset to default. This goal can be achieved by simply deleting the post with the type'patterns_ai_data'
from the database (when this post doesn't exist, patterns are rendered based on the info provided by the patterns dictionary instead - thePatterns/dictionary.json
file).The DELETE request is required to ensure that if, for some reason, AI is not available, the user can still be guided to the Assembler with the patterns rendering their native/default content.
The text was updated successfully, but these errors were encountered: