WC_Payment_Gateway::set_current
Set as current gateway.
Set this as the current gateway.
Method of the class: WC_Payment_Gateway{}
No Hooks.
Returns
null. Nothing (null).
Usage
$WC_Payment_Gateway = new WC_Payment_Gateway(); $WC_Payment_Gateway->set_current();
WC_Payment_Gateway::set_current() WC Payment Gateway::set current code WC 10.6.2
public function set_current() {
$this->chosen = true;
}