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 / flow / architecture.md

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

18 lines 1003 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 ---
2 module: flow
3 ---
4
5 # flow
6
7 ## Responsibility
8
9 Owns the two CartFlows custom post types (`cartflows_flow`, `cartflows_step`), their two taxonomies, the step URL/rewrite layer, and the two front-end page templates that render a step.
10
11 Ownership stops at rendering the step shell — step *content* (checkout, optin, thank-you logic), settings storage, and the admin funnel UI live outside this module. It only exposes the abstract `Cartflows_Step_Meta_Base` contract for them.
12
13 ## Why it is this way
14
15 The module is small, but nearly every non-obvious line is defensive scar tissue whose reason lives outside the code. Removing the permalink base means claiming a site-wide catch-all rewrite rule, and the five bail conditions guarding it each close a specific reported bug rather than expressing a general rule.
16
17 Hook order is require order here: every class self-instantiates at include time with hook registration in its constructor, so there is no way to load a class without registering its hooks.
18