Woocommerce wrapped functions in if function_exists() so that they can be overwritten in a themes function file