mirror of
https://gh.wpcy.net/https://github.com/mainwp/Code-Snippets-Functions.git
synced 2026-05-05 12:32:23 +08:00
https://wordpress.org/support/topic/cant-dismiss-an-important-update-is-required-for-woocommerce/
5 lines
189 B
Text
5 lines
189 B
Text
add_action('plugins_loaded', function() {
|
|
global $wpdb;
|
|
|
|
$wpdb->query("update {$wpdb->prefix}wc_admin_notes set status='pending' where name='WC-order-attribution-update-June-2024'");
|
|
});
|