Hi,
You can remove them by adding below PHP snippet:
add_filter( 'woo_orders_tracking_settings-shipping_carriers_define_list', function ( $carriers ) {
return '[]';
} );
Best regards
Hi again, the snippet you provided doesn’t seem to work? I added it to my site, but I can still see the default shipping carriers both in the menu list, and woocommerce editing list… In fact, I don’t see a hook with such a name in the plugin code at all…
Sorry, the above snippet works for the premium version.
Please use below one:
add_filter( 'woo_orders_tracking_defined_shipping_carriers', function ( $carriers ) {
return array();
} );
Thank you, I can see that the carriers are hidden in the admin list now. However, they aren’t hidden for my client in the Woocommerce order editing area, which is what I wanted. Is there a way to hide them there too?
I tested and they are hidden on both pages you mention. Please reload the order page.
I don’t know why, but they’re not hidden in the order editing area on my end… They’re only hidden in the plugin admin area.
Here’s what I mean:
The carriers are hidden here:
View post on imgur.com
But they’re not hidden here:
View post on imgur.com
How did you add the snippet?
I added it to my functions.php file.
Well I know why, the bug is in the plugin.
Just release a new version including the fix, please update it.
Best regards
Thank you very much, now it’s working as expected! 🙂 Thank you for the awesome support! 🙂
@foxpc I have archived your comment here, since you’re trying to hi-jack somebody else’s thread with your own questions. Please start a new topic instead. If your questions are about the same plugin, then go to https://ww.wp.xz.cn/support/plugin/woo-orders-tracking/ and fill out the “new post” form near the bottom of the page.
Since the original topic seems to have been resolved, I’m now closing this thread.