WC_Payment_Gateway::needs_setup()
Return whether or not this gateway still requires setup to function.
Description Description
When this gateway is toggled on via AJAX, if this returns true a redirect will occur to the settings page instead.
Return Return
(bool)
Source Source
File: includes/abstracts/abstract-wc-payment-gateway.php
public function needs_setup() {
return false;
}
Changelog Changelog
| Version | Description |
|---|---|
| 3.4.0 | Introduced. |