Skip to main content

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

NameTypeDescription
$base_urlstringThe base URL for loopback requests. Default: saved setting value.

Since

  • 1.12.0

Source

Defined in Scheduler/JobScheduler.php at line 498