• Resolved divinebox

    (@divinebox)


    Hello,

    I’m trying to improve the speed of my backend/admin panel. How could I disable the “count” of unapproved comments in the sidebar (in order to avoid a query that can be slow) ?

    A code in functions.php (or an option in the plugin) would be great.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support pear8398

    (@pear8398)

    Hi,

    Thanks for using CusRev.

    There isn’t an option to remove the count review in the review menu item. You can use the action hook admin_menu to adjust the existing menu or remove/re-add the menu on your own.
    The code to register the menu is located in the file
    /wp-content/plugins/customer-reviews-woocommerce/includes/reviews/class-cr-admin-menu-reviews.php

    Thread Starter divinebox

    (@divinebox)

    The plugin “query monitor” shows that it can be a quite heavy query for me, which slows down my admin pages. Could you introduce an option to activate/deactivate the counter please ? Or give a small snippet for functions.php ?

    Thanks a lot,

    Plugin Support pear8398

    (@pear8398)

    Hi,

    Thanks for your additional information.

    As I mentioned above, we don’t support an option to remove the count review in the review menu item. Supporting a snippet/customization code is beyond our scope of support.

    Also, you share a screenshot of the query that comes from WooCommerce, not our plugin https://imgur.com/Quid7fg
    and I think that 0,02 seconds won’t affect the loading time on your site.

    Plugin Support bagel1317

    (@bagel1317)

    We haven’t heard from you for more than two weeks. For this reason, I’ll assume that either you are not interested in this question/problem anymore or it has been resolved. If you still require any help, please start a new forum topic

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.