← Back to custom development
Custom WordPress Security Plugin
WP 2FA Security
A lightweight two-factor authentication plugin used across client WordPress sites, adding authenticator-app codes to the login and logging login activity.
Client
In-house plugin used on agency client sites
The Problem
Client sites were a target for login attacks, and the team wanted one small, consistent 2FA plugin it controls instead of a heavy third-party plugin on every site.
What I Built
- Time-based one-time codes (TOTP) that work with Google Authenticator and similar apps
- Second login step that intercepts sign-in until the code is verified
- Per-user setup on the profile page with QR code, secret generation and verification over AJAX
- Users and admins can enable or disable 2FA per account
- IP and login activity logging
- Deployed on multiple live client sites alongside Wordfence and a hidden login URL
Code Privacy
The source code belongs to the client, so it is not public. I can walk through the architecture and code samples in an interview.