hide banking overview

WCMp Vendor Frontend Reports

hide banking overview Resolved

Viewing 3 reply threads
  • Author
    Posts
    • #70279
      aexchile
      Participant

      Hi, I am evaluating to hide the bank summary link. In the case of doing so, can I disable it from the configuration or do I have to hide it in the Css customization?
      for example:

      .wcmp-venrod-dashboard-nav-link wcmp-venrod-dashboard-nav-link–banking-overview active {
      display: none;
      }

      What is the most appropriate way?

      Thanks

    • #70346

      Hi @aexchile, in order to remove the Banking Overview, add this code to the function.php of the current active theme :

      add_filter('wcmp_vendor_dashboard_nav', 'callback_wcmp_vendor_dashboard_nav', 99);
      function callback_wcmp_vendor_dashboard_nav($vendor_nav){
          
         unset($vendor_nav['vendor-report']['submenu']['banking-overview']);
       
         return $vendor_nav;
      }
      Copy
    • #70394
      aexchile
      Participant

      Hi Moumita, I did the test and it works perfect.

      Thank you

    • #70424

      We are happy to help @aexchile

Viewing 3 reply threads

The topic ‘hide banking overview’ is closed to new replies.

COVID-19 Outbreak: WCMp team is supporting business affected by coronavirus

Read the Message Buy at Slashed Price