Digital Sovereignty for everyone

Hooks

Actions

  • template_redirect (priority 1) โ€“ LH_Polls_Voting::handle_form_post โ€“ processes vote/change_vote form submissions, exits via redirect on POST.
  • template_redirect (priority 5) โ€“ LH_Polls_Embed::maybe_serve_embed โ€“ serves the self-contained embed HTML document for ?embed requests. Runs after the voting handler so a real vote submission is processed before the embed re-renders.
  • deleted_comment โ€“ LH_Polls_Comments::on_comment_deleted โ€“ keeps lh_poll_votes in sync when a vote comment is deleted via the WP comments screen.

Filters

  • oembed_response_data โ€“ returns an iframe-based rich oEmbed response for lh_poll posts (600px wide, height estimated from option count).
  • the_content โ€“ injects poll markup + JS tag on the standalone (non-embed) singular view.
  • comments_clauses / comment_feed_where / get_comments_number โ€“ exclude lh_vote-type comments from standard queries, feeds, and displayed counts on non-poll posts.
  • comments_open / comments_array โ€“ disable the comment form/list UI on lh_poll posts entirely (votes are stored as comments internally but never shown as a comment thread).

If you like this plugin please consider making a donation to further development

Install LHero.org

lhero.org

Open it straight from your home screen, full screen and quicker to load.

  1. Tap the Share button . If you cannot see it, tap โ€ขโ€ขโ€ข first.
  2. Scroll down and tap Add to Home Screen.
  3. Tap Add.
  1. Tap the browser menu โ‹ฎ.
  2. Tap Install app or Add to Home screen.
  1. In the menu bar, choose File, then Add to Dock.

Use your browser's menu to install this site or add it to your home screen.