From 0633114bc88c4030e6048c346d24ea655c552c65 Mon Sep 17 00:00:00 2001 From: Ben Ritner Date: Fri, 10 Jan 2025 15:57:15 -0700 Subject: [PATCH] fix so filter works --- src/Uplink/API/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Uplink/API/Client.php b/src/Uplink/API/Client.php index fe178aa7..3422da7f 100644 --- a/src/Uplink/API/Client.php +++ b/src/Uplink/API/Client.php @@ -164,7 +164,7 @@ protected function request( $method, $endpoint, $args ) { */ $request_args = apply_filters( 'stellarwp/uplink/' . Config::get_hook_prefix() . '/api_request_args', $request_args, $endpoint, $args ); - $url = $this->base_url . $this->api_root . $endpoint; + $url = $this->get_api_base_url() . $this->api_root . $endpoint; $response = wp_remote_get( $url, $request_args ); $response_body = wp_remote_retrieve_body( $response );