Filter: daymark_capture_weather
Whether a Mark's weather is looked up at all, given a resolved location.
Defaults to the daymark_capture_weather 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 the outbound Open-Meteo request entirely, independent of daymark_capture_location — useful for a site that's fine capturing location but does not want any outbound request tied to it. See the "quiet Mark metadata capture" feature's privacy note in readme.txt/README.md.
Parameters
| Name | Type | Description |
|---|---|---|
| $capture | bool | Defaults to the daymark_capture_weather option. |
Since
- 0.11.0
Source
Defined in includes/class-publisher.php at line 1697