Q: Could you please advise if there’s a way to achieve this via code?
Hi Lars,
We’ve reviewed the documentation regarding the white labeling process for the Security Ninja plugin and have a few questions.
It appears that white labeling can currently only be configured manually via the admin panel under the “White Label” tab. However, in our case, we need to enable white labeling programmatically rather than through the UI.
Could you please advise if there’s a way to achieve this via code? Alternatively, is it possible to create a pre-configured version of the Security Ninja plugin (e.g., a customized ZIP file) with white label settings already applied?
Ref doc: https://wpsecurityninja.com/docs/whitelabel/how-to-whitelabel-the-plugin/
We would appreciate your guidance on how best to proceed.
Lars_Koudal
Nov 13, 2025A: Hi there, great question. Yes, you can enable white labeling programmatically. Pre-packaging the plugin for automated deployment is supported, and you can handle automatic license activation as part of your deployment pipeline. Docs: https://wpsecurityninja.com/docs/license/automated-license-activation-for-multiple-sites-license-txt/
If you manage sites with MainWP, our MainWP addon lets you control White Label settings centrally, including during import or deployment.
All white label values are stored in the WordPress database (options). You can set or update these programmatically (for example on plugin activation, via a deployment script, or an mu-plugin) to apply your branding without using the UI. White label docs: https://wpsecurityninja.com/docs/whitelabel/how-to-whitelabel-the-plugin/
If you need more detail on where the settings are stored so you can modify settings, please reach out to our support team.
@Lars_Koudal
If possible can you reply? We have already bought your highest tier but unable to understand if it really fits are need or not? can please take time to reply?
This was already responded to on the 07/09/2025:
#Lars_Koudal
Sep 7, 2025
What you describe (pre‑packaging the plugin for automated deployment) is supported. We provide a way to handle automatic license activation, documented here:
👉 https://wpsecurityninja.com/docs/license/automated-license-activation-for-multiple-sites-license-txt/#