Automattic\WooCommerce\Internal\Admin\Settings\PaymentsProviders

PseudoWCPaymentGateway::get_settings_urlpublicWC 1.0

Get the gateway settings page URL.

Method of the class: PseudoWCPaymentGateway{}

No Hooks.

Returns

String. The gateway settings page URL.

Usage

$PseudoWCPaymentGateway = new PseudoWCPaymentGateway();
$PseudoWCPaymentGateway->get_settings_url(): string;

PseudoWCPaymentGateway::get_settings_url() code WC 10.5.0

public function get_settings_url(): string {
	if ( isset( $this->settings_url ) ) {
		return $this->settings_url;
	}

	return admin_url( 'admin.php?page=wc-settings&tab=checkout&section=' . strtolower( $this->id ) );
}