Automattic\WooCommerce\Admin\Features\Blueprint\Steps
SetWCPaymentGateways::__construct()
Constructor.
Method of the class: SetWCPaymentGateways{}
No Hooks.
Return
null
. Nothing (null).
Usage
$SetWCPaymentGateways = new SetWCPaymentGateways(); $SetWCPaymentGateways->__construct( $payment_gateways );
- $payment_gateways(array)
- Optional array of payment gateways.
Default: array()
SetWCPaymentGateways::__construct() SetWCPaymentGateways:: construct code WC 9.7.1
public function __construct( array $payment_gateways = array() ) { $this->payment_gateways = $payment_gateways; }