people standing on stage with lights turned on during night time

Make Restock refunded items unchecked by default

A quick one to automatically uncheck the “Restock refunded items” in the WooCommerce Order Admin by default. Doing this can save a few human errors in certain circumsances.

Simply add this to your functions or plugin file

add_filter('woocommerce_restock_refunded_items', '__return_false');



Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.