WC_Payment_Gateway::set_current()
Set as current gateway.
Set this as the current gateway.
Method of the class: WC_Payment_Gateway{}
No Hooks.
Return
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 9.7.1
public function set_current() { $this->chosen = true; }