Clear transients

MultivendorX Pro

Resolved
Viewing 2 reply threads
  • Author
    Posts
    • #216941
      Tandy R M Silva
      Participant

      Good evening, in this “Tools” menu, what would be the function of the “Clear transients” option?

      How can I remove this option in the seller panel?

      Attachments:
    • #216959

      Hello @Tandy R M Silva, With the “Clear Transients” option the vendor can simply clear the dashboard widget transients cache.That means this function helps in removing any temporary cached data related to dashboard widgets.
      Now to remove this menu from the vendor dashboard you can simply add the below code in the functions.php file of your current active theme –

      
      add_filter( 'woocommerce_should_load_paypal_standard', '__return_true' );
      add_filter('mvx_vendor_dashboard_nav', 'remove_mvx_vendor_dashboard_nav', 99);
      function remove_mvx_vendor_dashboard_nav($vendor_nav){
          unset($vendor_nav['vendor-tools']); 
          return $vendor_nav;
      }
      
      Copy

      Let us know if you need any further assistance.

    • #218858

      It’s been long and we have not heard back from you. We presume your query is resolved now. We are closing this thread. If you need help or face issue in future please create a new support ticket.

Viewing 2 reply threads

The topic ‘Clear transients’ is closed to new replies.