Automattic\WooCommerce\Internal\Admin\Settings\PaymentsProviders
PseudoWCPaymentGateway::get_settings_url
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() 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§ion=' . strtolower( $this->id ) );
}