PluginProbe
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce / 3.3.0
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce v3.3.0
3.3.0 3.2.1 3.2.0 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.1 trunk 1.0.4 1.1.0 1.1.0.1 1.1.1 1.1.10 1.1.11 1.1.12 1.1.13 1.1.14 1.1.15 1.1.16 1.1.17 1.1.18 1.1.19 1.1.2 All 162 releases
cartflows / modules / beaver-builder / architecture.md

architecture.md in CartFlows – Funnel Builder & Checkout Plugin for WooCommerce 3.3.0, at modules/beaver-builder/architecture.md

18 lines 1.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 ---
2 module: beaver-builder
3 ---
4
5 # beaver-builder
6
7 ## Responsibility
8
9 Owns the CartFlows-specific Beaver Builder integration: four `FLBuilderModule` subclasses plus their BB settings forms, per-node CSS, and an editor-compatibility shim.
10
11 Ownership stops at the shortcode boundary — the modules render `[cartflows_checkout]` / `[cartflows_optin]` / `[cartflows_order_details]` and only *steer* the real step modules by pushing values through `cartflows_*_meta_*` filters. None of the actual checkout/optin/thank-you behaviour lives here.
12
13 ## Why it is this way
14
15 Settings reach the renderer through filter closures registered at render time rather than by direct call, because the shortcodes read step meta rather than accepting arguments. That indirection is why the closures are never removed and why two modules of the same type on one page interfere.
16
17 Enablement depends on a request-scoped static cache of the step type plus a two-entry-point loader (`wp` and `admin_init`, both at priority 8), which is also why a plain `admin-ajax.php` request loads none of this.
18