# Help4 Site Launch Center

The Site Launch Center turns Help4 Builder Suite into a guided, one-install WordPress stack without enabling unrelated public content or overwriting connection credentials.

## Launch profiles

- Essential WordPress site: Builder, templates, fields, forms, SEO, redirects, security, performance, images, reporting, and migration tools.
- Service business: conversion templates and structured customer/project workflows in addition to the essential stack.
- Commerce and subscriptions: catalog, variation, customer, inventory, promotion, tax, shipping, subscription, processor, and checkout modules.
- Membership and learning: gated resources, courses, video, progress, certificates, subscriptions, member dashboards, and protected downloads.
- Publisher and knowledge hub: editorial templates, search, schema, readability, redirects, social presentation, and media performance.
- Complete Help4 suite: all production modules, including commerce, LMS, industry tools, fields, forms, SEO, security, performance, and operations.

Release tooling, licensing enforcement, and public demo seeders remain disabled by launch profiles. Frontend assets continue to load by module and page usage rather than as one site-wide bundle.

## Apply behavior

Each profile application:

1. Requires an administrator and a WordPress nonce.
2. Validates a hash of the launch-managed state so a stale browser tab cannot overwrite newer configuration.
3. Captures a rollback snapshot of feature flags, global design tokens, wizard state, and only the non-secret settings changed by the profile.
4. Applies normalized feature flags and safe experience defaults.
5. Applies the selected design-token pack.
6. Records a non-secret change report and fires `h4bs_site_launch_profile_applied`.

Payment secrets, API keys, router credentials, webhooks, license data, and private endpoints are not part of profile definitions, state hashes, reports, or rollback snapshots.

## Rollback behavior

The Launch Center offers one-click rollback only while the current launch-managed state still matches the state created by the last profile. If another tab, administrator, or integration changes that state, rollback locks rather than overwriting newer work.

A successful rollback fires `h4bs_site_launch_profile_restored` and removes the consumed snapshot.

## Theme behavior

Help4 Builder Suite works with WordPress themes. Help4 Blank is the recommended clean shell, but installing or activating it remains a separate administrator-confirmed action. Applying a profile never installs or activates a theme automatically.

## Extension points

- `h4bs_site_launch_profiles`: add or adjust normalized launch profiles.
- `h4bs_site_launch_readiness_checks`: add hosting, policy, or integration readiness checks.
- `h4bs_site_launch_profile_applied`: react after a profile transaction succeeds.
- `h4bs_site_launch_profile_restored`: react after its guarded rollback succeeds.

Custom profile settings are restricted to the Launch Center's non-secret allowlist. Addon modules should use their own settings screens for credentials and connection data.
