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)


Top ↑

Source Source

File: includes/abstracts/abstract-wc-payment-gateway.php

	public function needs_setup() {
		return false;
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.