Automattic\WooCommerce\Internal\Admin\Settings\PaymentsProviders

NexiCheckout::is_in_dev_mode │ public │ WC 1.0

Try to determine if the payment gateway is in dev mode.

Метод класса: NexiCheckout{}

Хуков нет.

Возвращает

bool. True if the payment gateway is in dev mode, false otherwise.

Использование

$NexiCheckout = new NexiCheckout();
$NexiCheckout->is_in_dev_mode( $payment_gateway ): bool;
$payment_gateway(WC_Payment_Gateway) (обязательный)
The payment gateway object.

Код NexiCheckout::is_in_dev_mode() WC 11.3.0

public function is_in_dev_mode( WC_Payment_Gateway $payment_gateway ): bool {
	return $this->is_nexi_in_sandbox_mode( $payment_gateway ) ?? parent::is_in_dev_mode( $payment_gateway );
}