Daymark Hooks
Action and filter reference for the Daymark plugin and its connectors
Available Hooks
This plugin provides the following hooks:
Actions
- daymark_import_responses - This action is documented later in this method.
- daymark_published - Fires after a Mark has been successfully created.
- daymark_register_connectors - Fires after built-in Daymark connectors are registered.
- daymark_register_subscription_sources - Fires so inbound subscription sources can register themselves.
- daymark_syndication_complete - Fires after Daymark has attempted publishing to all selected destinations.
Filters
- daymark_app_content_security_policy - Filters the app shell's Content-Security-Policy header.
- daymark_backflow_freshen_window - Filters how long a notifications view treats the last backflow sync as fresh, in seconds.
- daymark_backflow_sync_days - Filters how far back automatic backflow syncing looks, in days.
- daymark_capture_camera_metadata - Whether camera EXIF fields (camera/aperture/iso/focal_length/ shutter_speed) are copied into
_daymark_camerapost meta. - daymark_capture_location - Whether a Mark's quietly-captured location (lat/lng, best-effort from the composer's browser geolocation) is stored at all.
- daymark_capture_weather - Whether a Mark's weather is looked up at all, given a resolved location.
- daymark_comment_import_approved - Filters whether an imported external response is approved.
- daymark_default_destinations - Filters the default destination connector IDs for a Mark type.
- daymark_import_network_responses - Allows a real connector plugin to handle response import for a network instead of the mock importer.
- daymark_publish_helper_adapters - Filter the controllable publishing-helper adapters. Each entry is keyed by id and carries
label,slugs, andbind, wherebindis a callable that registers the plugin's own public per-post control filter. - daymark_publish_helper_plugins - Filter the map of detectable publishing-helper plugins.
- 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.
- daymark_rate_limits - Filter per-action rate limits.
- daymark_subscription_content_fetch_timeout - Filters the HTTP timeout, in seconds, used for the click-through full-content fetch.
- daymark_subscription_feed_fetch_timeout - Filters the HTTP timeout, in seconds, used when fetching a subscription's feed.
- daymark_subscription_friends_user_scan_limit - Filters how many users find_friend_user() scans looking for a matching
user_url. Defaults comfortably above any realistic number of accounts (real + friend + subscription) on a personal WordPress site. - daymark_subscription_html_fetch_timeout - Filters the HTTP timeout, in seconds, used when fetching a subscribed site's homepage HTML during discovery.
- daymark_subscription_manual_refresh_interval - Filters how long a manual refresh treats a subscription as too recently refreshed to poll again, in seconds.
- daymark_subscription_max_content_bytes - Filters the maximum full-content click-through response size, in bytes, fetch_full_content() will download.
- daymark_subscription_max_feed_bytes - Filters the maximum feed response size, in bytes, fetch() will download via fetch_feed()/SimplePie.
- daymark_subscription_max_html_bytes - Filters the maximum site-HTML response size, in bytes, a subscription source's discovery-time homepage fetch will download.
- daymark_subscription_oembed_cache_ttl - Filters how long a resolved (or failed) oEmbed lookup is cached, in seconds.
- daymark_subscription_oembed_fetch_timeout - Filters the HTTP timeout, in seconds, used when resolving an oEmbed preview.
- daymark_subscription_oembed_max_bytes - Filters the maximum oEmbed response size, in bytes, this class will download.
- daymark_subscription_opml_max_entries - Filters the maximum number of
<outline>entries an OPML import will accept in one request. A file over this cap is rejected outright (nothing imported) rather than partially processed. - daymark_subscription_url_guard_resolved_addresses - Filters the resolved IP addresses for a host, short-circuiting the real DNS lookup below.
- daymark_title_field_policy - Filters the per-type policy for the composer's optional Title field.
- daymark_upload_max_bytes - Filters the maximum accepted size of a single uploaded file, in bytes.
- daymark_upload_total_max_bytes - Filters the maximum combined size of one upload request, in bytes.
- daymark_weather_fetch_timeout - Filters the HTTP timeout, in seconds, used for the best-effort Open-Meteo current-weather lookup.
- daymark_websub_lease_seconds - Filters the WebSub lease duration used when the hub's own verification GET carries no
hub.lease_secondsof its own. - daymark_websub_max_delivery_bytes - Filters the maximum WebSub content-delivery body size, in bytes.
- daymark_websub_renewal_window - Filters how long before lease expiry a WebSub subscription renews, in seconds.