---
id: gk-foundation-scheduler-loopback-base-url
title: "Filter - gk/foundation/scheduler/loopback-base-url"
sidebar_label: "gk/foundation/scheduler/loopback-base-url"
tags:
  - "1.12.0"
---

# Filter: gk/foundation/scheduler/loopback-base-url

Filters the base URL used for all loopback requests.

Return a full base URL (e.g. `http://host.docker.internal:8896`) to override the default WordPress site URL used for loopback connections by Foundation, Action Scheduler, and WP-Cron. Credentials may be embedded (`https://user:pass@host`) for sites behind HTTP Basic Authentication (e.g. Flywheel staging).

## Parameters

| Name | Type | Description |
|------|------|-------------|
| $base_url | `string` | The base URL for loopback requests. Default: saved setting value. |

### Since

- 1.12.0

### Source

Defined in `Scheduler/JobScheduler.php` at line 498

