WC_Payment_Gateway::set_current
Set as current gateway.
Set this as the current gateway.
Метод класса: WC_Payment_Gateway{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$WC_Payment_Gateway = new WC_Payment_Gateway(); $WC_Payment_Gateway->set_current();
Код WC_Payment_Gateway::set_current() WC Payment Gateway::set current WC 10.8.1
public function set_current() {
$this->chosen = true;
}