Skip to content

DOCS: Show the fluentform/loaded bootstrap for custom integrations - #22

Open
dhrupo wants to merge 1 commit into
mainfrom
docs/integration-bootstrap-fluentform-loaded
Open

dhrupo wants to merge 1 commit into
mainfrom
docs/integration-bootstrap-fluentform-loaded

Conversation

@dhrupo

@dhrupo dhrupo commented Sep 15, 2026

Copy link
Copy Markdown
Member

What does this PR do and why?

The IntegrationManagerController page documents the constructor but never shows where to instantiate the class, so custom integrations get bootstrapped in inconsistent places. This adds the fluentform/loaded bootstrap example — the pattern Fluent Forms Pro and sibling plugins use — and fixes the stale fluentform/global_addons source reference.

Changes

  • ADD a "Bootstrapping your integration" section with the fluentform/loaded example
  • ADD a description for registerAdminHooks() linking to that section
  • FIX the fluentform/global_addons location: AddOnModule -> getRegisteredAddOns() (was AddOnModules -> showFluentAddOns()), with a pointer that registerAdminHooks() adds the filter

How to test

  1. npm run dev (Node 17+: prefix NODE_OPTIONS=--openssl-legacy-provider).
  2. Open API → Classes → IntegrationManagerController → "Bootstrapping your integration" appears after the __construct() example.
  3. Under registerAdminHooks(), click the link → jumps to #bootstrapping-your-integration.
  4. Open Hooks → Filters → Integration → fluentform/global_addons → corrected location and the same link resolve.

Anything the reviewer should know?

The IntegrationManagerController page documented the constructor but never
showed where to instantiate the class, and the global_addons filter
reference pointed at a method that no longer applies it.

Add a bootstrap example on fluentform/loaded, describe registerAdminHooks(),
and correct the filter location to AddOnModule::getRegisteredAddOns().
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying fluentform-developers with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6acadd6
Status: ✅  Deploy successful!
Preview URL: https://22146961.fluentform-developers.pages.dev
Branch Preview URL: https://docs-integration-bootstrap-f.fluentform-developers.pages.dev

View logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant