diff --git a/includes/class-tulo-paywall.php b/includes/class-tulo-paywall.php index c9e839c..8c48e18 100644 --- a/includes/class-tulo-paywall.php +++ b/includes/class-tulo-paywall.php @@ -61,7 +61,7 @@ public function get_back_url() { } public function get_return_url() { - $currentUrl = get_current_url(); + $currentUrl = $this->get_current_url(); if (str_contains($currentUrl, "?")) { $currentUrl .= "&tpw_session_refresh=1"; } else {