Skip to content

v0.2.1 — Test mode: gr_skip_hubspot filter

Choose a tag to compare

@iamchrishaigh iamchrishaigh released this 10 Jun 11:15
· 7 commits to main since this release

Adds a gr_skip_hubspot filter for QA on sites where HubSpot isn't configured yet. When enabled, the HubSpot submission is skipped (the lead is not recorded anywhere) but everything else — Turnstile, validation, the 30-day unlock, protected file access — runs normally.

Enable while testing (Code Snippets plugin or theme functions.php):

add_filter( 'gr_skip_hubspot', '__return_true' );

Remove it before go-live or no leads will be captured.

Install/update with the gated-resources.zip asset below.