/** * Returns the main instance of WC_Gateway_TrxServices to prevent the need to use globals. * * @return WC_Gateway_TrxServices */ function wc_gateway_trxservices() { include_once 'includes/class-wc-gateway-trxservices.php'; return WC_Gateway_TrxServices::get_instance(); }