WooCommerce Beta Tester - CYS: implement removing patterns_ai_data post type (#41285)
* WooCommerce Beta Tester - CSY: implement removing patterns_ai_data post type * add changelog * Update changelog
This commit is contained in:
parent
54a00b282a
commit
762f6847e5
|
@ -44,5 +44,15 @@ function tools_reset_cys() {
|
|||
array( '%s', '%s' )
|
||||
);
|
||||
|
||||
// Reset the patterns AI data.
|
||||
$wpdb->delete(
|
||||
$wpdb->prefix . 'posts',
|
||||
array(
|
||||
'post_type' => 'patterns_ai_data',
|
||||
'post_title' => 'Patterns AI Data',
|
||||
),
|
||||
array( '%s', '%s' )
|
||||
);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: minor
|
||||
Type: update
|
||||
|
||||
WooCommerce Beta Tester - CYS: implement removing patterns_ai_data post type
|
|
@ -217,7 +217,6 @@ export function* resetCustomizeYourStore() {
|
|||
'woocommerce_customize_store_onboarding_tour_hidden',
|
||||
'woocommerce_admin_customize_store_completed',
|
||||
'woocommerce_admin_customize_store_completed_theme_id',
|
||||
'wc_blocks_patterns_content',
|
||||
];
|
||||
yield apiFetch( {
|
||||
method: 'DELETE',
|
||||
|
|
Loading…
Reference in New Issue