WooCommerce function not working correctly after moving from the functions.php into a class September 10, 2022 by Tarik Billa WooCommerce function not working correctly after moving from the functions.php into a class