WC_Gateway_Paypal::set_instancepublic staticWC 1.0

Set the instance of the gateway.

Method of the class: WC_Gateway_Paypal{}

No Hooks.

Returns

null. Nothing (null).

Usage

$result = WC_Gateway_Paypal::set_instance( $instance );
$instance(WC_Gateway_Paypal) (required)
The instance of the gateway.

WC_Gateway_Paypal::set_instance() code WC 10.7.0

public static function set_instance( $instance ) {
	self::$instance = $instance;
}