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 );