WC_Gateway_BACS::get_settings_urlpublicWC 1.0

Get the settings URL for the gateway.

Method of the class: WC_Gateway_BACS{}

No Hooks.

Returns

String. The settings page URL for the gateway.

Usage

$WC_Gateway_BACS = new WC_Gateway_BACS();
$WC_Gateway_BACS->get_settings_url();

WC_Gateway_BACS::get_settings_url() code WC 10.5.0

public function get_settings_url() {
	$should_use_react_settings_page = $this->is_reactified_settings_page();

	// We must not include both the path and the section query parameter, as this can cause weird behavior.
	return SettingsUtils::wc_payments_settings_url(
		$should_use_react_settings_page ? '/' . WC_Settings_Payment_Gateways::OFFLINE_SECTION_NAME . '/' . $this->id : null,
		$should_use_react_settings_page ? array() : array( 'section' => $this->id )
	);
}