Solution to hide sensitive data from the Wordpress Site Health Tool in the admin sidebar menu. It will do the same for the WooCommerce status page.
You can simply install this package by adding it as a composer dependency. After you've included the composer autoload file in your website, it should work automatically.
You can still view Site Health information, if the requirements below are followed.
- The current logged in user has permission to administrator.
- One of the following is true:
- a)
?show_debug=true
is added to the url - b)
WP_DEBUG
is set totrue
inwp-config.php
- a)
More information about the Wordpress status and debug pages can be found in the WP_Site_Health and WP_Debug_data documentation.
More information about the WooCommerce status pages can be found in the WC_Admin_Status documentation.
Level Level
Website: https://level-level.com
Email: info@level-level.com