/** * Gets the plugin configuration URL * * @since 1.0 * @see SV_WC_Plugin::get_settings_url() * @param string $gateway_id the gateway identifier * @return string gateway settings URL */ public function get_settings_url($gateway_id = null) { // default to first gateway if (is_null($gateway_id)) { reset($this->gateways); $gateway_id = key($this->gateways); } return SV_WC_Plugin_Compatibility::get_payment_gateway_configuration_url($this->get_gateway_class_name($gateway_id)); }
/** * Gets the gateway configuration URL * * @since 2.1 * @see SV_WC_Plugin::get_settings_url() * @param string $_ unused * @return string plugin settings URL */ public function get_settings_url($_ = null) { return SV_WC_Plugin_Compatibility::get_payment_gateway_configuration_url($this->gateway_class_name); }