Filter: daymark_capture_location
Whether a Mark's quietly-captured location (lat/lng, best-effort from the composer's browser geolocation) is stored at all.
Defaults to the daymark_capture_location option (a checkbox in Settings -> Daymark's Privacy section, defaulting to true) — set to false there, or return false from this filter, to opt a site out of location capture entirely; the client may still send it, but the server ignores it. See the "quiet Mark metadata capture" feature's privacy note in readme.txt/README.md. Disabling this also prevents fetch_weather() from ever running, since weather is only ever attempted alongside a resolved location.
Parameters
| Name | Type | Description |
|---|---|---|
| $capture | bool | Defaults to the daymark_capture_location option. |
Since
- 0.11.0
Source
Defined in includes/class-publisher.php at line 1542