Remove trash order in vendor dashboard

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Tagged: 

Viewing 4 reply threads
  • Author
    Posts
    • #131651
      khuaneng.khor
      Participant

      Hi WCFM, how to delete trash order in vendor dashboard?

      Attachments:
      You must be logged in to view attached files.
    • #131724

      Hello,

      add_filter('wcfmmp_is_allow_show_trashed_orders', '__return_true');

      Try this code to your child theme’s functions.php

      In case you do not have child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/

      Thanks.

    • #131735
      khuaneng.khor
      Participant

      Hi, thanks for the code. However, it shown error message when put in code snippets. Please refer to the attachment.

      Attachments:
      You must be logged in to view attached files.
    • #131738

      Hello,

      It seems like the code was not paste properly. It is PHP error. Please provide us site url with admin access(Set as private reply), then we can check your code.

      Thanks.

    • #131739
      khuaneng.khor
      Participant

      Hi, it is working now. I paste the code not properly.

      Thanks for the quick response!

Viewing 4 reply threads
  • You must be logged in to reply to this topic.