Automattic\WooCommerce\Internal\Admin\Settings\PaymentsProviders
PseudoWCPaymentGateway::is_test_mode
Check if the gateway is in test mode.
Method of the class: PseudoWCPaymentGateway{}
No Hooks.
Returns
true|false. True if the gateway is in test mode, false otherwise.
Usage
$PseudoWCPaymentGateway = new PseudoWCPaymentGateway(); $PseudoWCPaymentGateway->is_test_mode(): bool;
PseudoWCPaymentGateway::is_test_mode() PseudoWCPaymentGateway::is test mode code WC 10.8.1
public function is_test_mode(): bool {
return $this->test_mode;
}