You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AGENTS.md
+10-9Lines changed: 10 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ npm run dist
22
22
23
23
```bash
24
24
# PHPUnit — requires Docker (wp-env)
25
-
npm run test:unit:php:setup # Start WordPress Docker environment
25
+
npm run env:setup # Start WordPress Docker environment
26
26
bash ./bin/e2e-after-setup.sh # Prepare database/test data
27
27
npm run test:unit:php # Run PHPUnit tests
28
28
@@ -61,14 +61,14 @@ You can read more about it on `./ARCHITECTURE.md`, but here’s a high-level ove
61
61
62
62
### Core Classes
63
63
64
-
| Class | File | Role |
65
-
|---|---|---|
66
-
|`NM_PersonalizedProduct`|`classes/plugin.class.php`| Main plugin — registers all WooCommerce hooks, loads input types |
67
-
|`NM_PersonalizedProduct_Admin`|`classes/admin.class.php`| Admin-only coordinator for menus, settings, attach flows, and admin AJAX |
68
-
|`PPOM_Meta`|`classes/ppom.class.php`| Product-side field-group resolver that reads attached groups and loads settings/fields from the custom DB table |
69
-
|`PPOM_Form`|`classes/form.class.php`| Frontend form rendering |
70
-
|`PPOM_Fields_Meta`|`classes/fields.class.php`| Admin field-builder UI, modals, and builder asset loading |
71
-
|`PPOM_Inputs`|`classes/input.class.php`| Input type manager |
|`NM_PersonalizedProduct`|`classes/plugin.class.php`| Main plugin — registers all WooCommerce hooks, loads input types|
67
+
|`NM_PersonalizedProduct_Admin`|`classes/admin.class.php`| Admin-only coordinator for menus, settings, attach flows, and admin AJAX|
68
+
|`PPOM_Meta`|`classes/ppom.class.php`| Product-side field-group resolver that reads attached groups and loads settings/fields from the custom DB table |
69
+
|`PPOM_Form`|`classes/form.class.php`| Frontend form rendering|
70
+
|`PPOM_Fields_Meta`|`classes/fields.class.php`| Admin field-builder UI, modals, and builder asset loading|
71
+
|`PPOM_Inputs`|`classes/input.class.php`| Input type manager|
72
72
73
73
### Input Type System
74
74
@@ -77,6 +77,7 @@ Each input type has a class in `classes/inputs/` (e.g. `input.text.php`, `input.
0 commit comments