KloudBoy
Forum Replies Created
-

Temporary workaround (Make MU plugin for fix)
We were able to reproduce the slow admin performance caused by the notification count logic hooked to
google_for_woocommerce_admin_menu_notification_count.As a temporary workaround, you can disable this filter using an MU plugin so the fix remains active regardless of theme changes.
Steps:
- Create the folder if it does not exist:
wp-content/mu-plugins/- Create a file:
wp-content/mu-plugins/google-woocommerce-admin-performance-fix.php- Add the following code:
<?php
/**
* Temporary workaround: disable Google for WooCommerce admin notification count
* Reason: Notification count filter impacts admin performance on every page load
*/
add_action( 'admin_menu', function () {
remove_all_filters( 'google_for_woocommerce_admin_menu_notification_count' );
}, 0 );This removes the notification count filter and restores normal backend performance while keeping the plugin enabled and configured.
This should be considered a temporary workaround until the notification count logic is optimized (for example, by caching the response instead of running the calculation on every admin page render).
Thanks
i have attached a profiler screenshot.
The profiling clearly shows Google for WooCommerce consuming the majority of execution time (~7s+), while other plugins remain minimal. 📊 When the Issue Occurs
The slowdown is consistent across backend operations, including:
- General WP Admin browsing
- Product edit / product list
- WooCommerce dashboard
- Background sync processes (suspected)
Yes — we are running the latest versions of:
- WooCommerce core
- Google for WooCommerce
Issue reproduced on multiple sites. 🔌 Other Integrations
No custom code directly integrating with Google for WooCommerce.
Typical WooCommerce stack only (SEO, Elementor, payments, etc.).Disabling this plugin immediately removes the latency.