# Changelog

### Code Snippets addon **[WHMCS](https://puqcloud.com/link.php?id=77)**
#####  [Order now](https://puqcloud.com/store/whmcs-addon-modules) | [Download](https://download.puqcloud.com/WHMCS/addons/PUQ_WHMCS-Code-Snippets/) | [FAQ](https://community.puqcloud.com/)

## v1.0 — 2026-02-16

First release.

### New Features

- Unlimited code snippets with CodeMirror syntax-highlighted editor (HTML/CSS/JS)
- Three injection positions: inside `<head>`, after `<body>`, before `</body>`
- Area targeting: Client Area, Admin Area, or Both
- Page targeting with checkboxes for 35+ client area pages and 40+ admin area pages
- Custom URL pattern matching for targeting any page by URL substring
- User targeting: All Visitors, Logged-in Clients Only, Guests Only, Specific Client Groups
- Product/Service targeting: show or hide snippets based on client's active products
- Scheduling with start and end dates
- Priority system for controlling snippet rendering order
- Complete version history log with side-by-side diff view
- One-click rollback to any previous snippet version
- Emergency kill switch via database toggle, flag file (module dir or WHMCS root), or secret URL
- Import/Export of all snippets as JSON with base64-encoded code
- Dashboard with key metrics, area/position charts, and recent changes
- Snippets list with filtering by area (Client/Admin), status (Active/Inactive/Scheduled)
- AJAX-based save/load for all pages
- WHMCS friendly URL support for page detection
- Admin area route-based URL support (e.g., `/admin/index.php/admin/billing/invoice/123`)
- License verification system with online/offline modes
- Dashboard accessible without active license, other pages restricted
- English language interface


<!-- sync:11d7fa3d8f503d7d -->