Skip to content

Commit

Permalink
fix so filter works
Browse files Browse the repository at this point in the history
  • Loading branch information
kadencewp committed Jan 10, 2025
1 parent f33e2d3 commit 0633114
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Uplink/API/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit 0633114

Please sign in to comment.