Automattic\WooCommerce\Internal\Admin\Settings\PaymentProviders
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 9.8.5
public function is_test_mode(): bool { return $this->test_mode; }