Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Marketplace (WooCommerce Multivendor Marketplace) › Remove trash order in vendor dashboard
Tagged: trash order
- This topic has 4 replies, 2 voices, and was last updated 4 years, 9 months ago by
khuaneng.khor.
- AuthorPosts
- May 16, 2020 at 9:00 am #131651
khuaneng.khor
ParticipantHi WCFM, how to delete trash order in vendor dashboard?
Attachments:
You must be logged in to view attached files. - May 16, 2020 at 12:53 pm #131724
Sarmistha Chakraborty
MemberHello,
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.
- May 16, 2020 at 1:21 pm #131735
khuaneng.khor
ParticipantHi, 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. - May 16, 2020 at 1:26 pm #131738
Sarmistha Chakraborty
MemberHello,
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.
- May 16, 2020 at 1:33 pm #131739
khuaneng.khor
ParticipantHi, it is working now. I paste the code not properly.
Thanks for the quick response!
- AuthorPosts
- You must be logged in to reply to this topic.