Shahid Malla

Notes from real client work

Field notes & tutorials.

Hard-won lessons from shipping WHMCS modules, securing servers, and automating hosting businesses - written so you can apply them today.

62 articles · 28 categories

Editor's pick

shahidmalla.com/blog/whmcs-hooks-guide
WHMCS Hooks Guide: Extend Functionality Without Modifying Core Files
Featured in Development

WHMCS Hooks Guide: Extend Functionality Without Modifying Core Files

Stop editing WHMCS core files. After 10+ years building WHMCS systems, here is the working model for hooks — the 7 you will actually use, a real walkthrough, and the pitfalls that have cost me nights of sleep.

S Shahid Malla · Jan 4, 2026 · 14 min
Read the full article

Latest articles

Building Custom WHMCS Reports: Admin Dashboard Analytics
WHMCS 5 min

Building Custom WHMCS Reports: Admin Dashboard Analytics

WHMCS built-in reports cover basics. For MRR by product, cohort retention, churn, SLA tracking — you write custom reports. The easiest WHMCS module type to ship.

S Shahid Malla Feb 22 · 292
WHMCS for SaaS & Subscription Billing
Billing 8 min

WHMCS for SaaS & Subscription Billing

Configure WHMCS to behave as a SaaS billing system — subscription plans, configurable options, trials, dunning, prorated upgrades, usage-based billing. Working examples from real client builds.

S Shahid Malla Feb 20 · 246

WHMCS GDPR Compliance: The Working Checklist

GDPR compliance for WHMCS without paying a consultant — what the regulation actually requires, which features WHMCS gives you out of the box, cookie consent, DPAs, and the realistic compliance bar for a small hosting business.

S Shahid Malla Feb 18 · 314

Heatmaps & Session Replay for WHMCS (Clarity & Hotjar)

Heatmaps tell you what GA4 can't — where customers try to click that isn't clickable, where they get stuck on forms. The practical setup for Microsoft Clarity + Hotjar on WHMCS.

S Shahid Malla Feb 15 · 214
How to Add Dark Mode to WHMCS
Design 5 min

How to Add Dark Mode to WHMCS

Dark mode for WHMCS in 2026 — one CSS-variables architecture, one toggle, no flash on load. Plus how to handle the things you can't theme (Stripe Elements, PayPal buttons).

S Shahid Malla Feb 13 · 221

How to Install WHMCS Modules Safely

Installing a WHMCS module sounds simple. The 10% that goes wrong is preventable. The procedure I follow for every module install — vetting, staging, upload, activation, verification, rollback.

S Shahid Malla Feb 12 · 249

Redis and OPcache for WHMCS: The Performance Setup

OPcache plus Redis cuts WHMCS page generation time by 4-6x on a busy install. Both take 30 minutes to set up. Neither requires code changes. Here is the working config.

S Shahid Malla Feb 9 · 205

WHMCS Hook: Automate cPanel Account Side-Effects

WHMCS already creates cPanel accounts. The hook that adds DNS auto-config, CRM push, Slack notifications, fraud screening — all the cross-cutting work the module doesn't do.

S Shahid Malla Feb 8 · 243

WHMCS Firewall & Server Hardening Guide

The hardening that prevents 95% of attacks takes one afternoon. CSF firewall, admin folder rename, 2FA, file permissions, HTTPS enforcement, monitoring. The working checklist.

S Shahid Malla Feb 7 · 256

WHMCS Theme Structure: The Practical Map

Every WHMCS theme tutorial shows the file tree and stops there. This one shows the decisions that determine whether your theme survives the next WHMCS update — inheritance, Smarty essentials, when to use hooks instead of templates.

S Shahid Malla Feb 7 · 348
WHMCS Order Form Templates Compared
WHMCS 5 min

WHMCS Order Form Templates Compared

WHMCS ships 7 order-form templates. Which to use per product type, how to mix across product groups, and the conversion optimizations that actually move the needle.

S Shahid Malla Feb 5 · 287

GA4 Ecommerce Tracking for WHMCS: Complete Implementation

GA4 doesn't ship with WHMCS — you wire it yourself. The practical setup: tag strategy, ecommerce events from order form to purchase, server-side refunds, cross-domain attribution.

S Shahid Malla Feb 3 · 265

Want it built for you?

Reading is good. Shipping is better.

If a tutorial here solves your problem, great. If it doesn't, that's why I'm here. Tell me what you need.