Disable Statistics
You can disable system statistics by using setting false
in ESPDash class constructor as the last parameter.
If you would like to completely disable and hide the statistics tab from the sidebar, please use the below code and make sure you don’t have any custom statistics. By doing so, it will automatically hide the “statistics” tab from sidebar.
If no custom URI is defined (second parameter):
ESPDash dashboard(&server, false);
If using a using custom URI (third parameter):
ESPDash dashbord(&server, "/", false);