Skip to main content

Filter: daymark_publish_location_publicly

Whether a Mark's quietly-captured location (see the "quiet Mark metadata capture" feature, Daymark_Publisher) is rendered as public p-geo/h-geo markup on its own permalink page.

Defaults to the daymark_publish_location_publicly option (a checkbox in Settings -> Daymark's Privacy section, defaulting to false): capturing a location so it's available inside the authenticated app (Timeline card, REST summary) is not the same decision as publishing an author's exact device-GPS coordinates into public, search-indexable page HTML — the same reasoning this class already applies to leaving u-email off the h-card (see this file's own docblock). A site owner who wants public location markup can opt in via that checkbox, or a developer can return true from this filter.

Parameters

NameTypeDescription
$publish_publiclyboolDefaults to the daymark_publish_location_publicly option.
$post_idintMark post ID.

Since

  • 0.11.0

Source

Defined in includes/class-microformats.php at line 198