WC_Payment_Gateway::set_current()publicWC 1.0

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() code WC 8.7.0

public function set_current() {
	$this->chosen = true;
}