WC_Gateway_Paypal::set_instance
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() WC Gateway Paypal::set instance code WC 10.7.0
public static function set_instance( $instance ) {
self::$instance = $instance;
}