Skip to content
  • This project
    • Loading...
  • Sign in

Jeff Balicki / st_joseph

Go to a project
Toggle navigation
Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • st_joseph
  • wp-content
  • plugins
  • woocommerce-services
  • classes
  • class-wc-connect-payment-gateway.php
  • Jeff Balicki's avatar
    woo · 205fdf40 ...
    205fdf40
    Signed-off-by: Jeff <jeff@gotenzing.com>
    Jeff Balicki committed 2023-02-07 12:57:23 -0500
class-wc-connect-payment-gateway.php 301 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
<?php

if ( ! class_exists( 'WC_Connect_Payment_Gateway' ) ) {

	class WC_Connect_Payment_Gateway extends WC_Payment_Gateway {

		public function __construct( $settings ) {

			foreach ( (array) $settings as $key => $value ) {
				$this->{$key} = $value;
			}

			$this->init_settings();

		}

	}

}