GrootMadeGrootMade
Pricing
GrootConnectRegister
Explore allThemesPluginsKitsCollectionsPacksAuthorsCategoriesTagsTrendingDownload PluginPricingResourcesBlogChangelogContact usDocumentationCommunity
GrootMadeGrootMade
ExplorePricingDashboardBlogContact usTermsPrivacy

The WP® trademark is the intellectual property of the WP Foundation, and the Woo® and WooCommerce® trademarks are the intellectual property of WooCommerce, Inc. Uses of the WP®, Woo®, and WooCommerce® names in this website are for identification purposes only and do not imply an endorsement by WP Foundation or WooCommerce, Inc. GrootMade is not endorsed or owned by, or affiliated with, the WP Foundation or WooCommerce, Inc.

Petra

AI assistant for GrootMade

Hi! I'm Petra 👋 Ask me to help you find the perfect WP plugin, theme, or template kit.

Need human help?
Join our DiscordChat on Telegram
Join Discord
ExploreExample Plugin

Example Plugin

Lock WordPress plugin licenses to specific domains.

A reference plugin that ties Keygen licensing to a single domain. Shows how to validate site-locked licenses on localhost.

Visit Example Plugin
fv_plugin

Example Plugin

Lock WordPress plugin licenses to specific domains.

Visit site

This example plugin demonstrates how to integrate Keygen's licensing API into a WordPress plugin for site-locked (node-locked) licensing. It is intended for developers building commercial plugins who need to restrict each license key to a single domain.

  • Domain-locked validation: Each license key is validated against the site's domain, ensuring the plugin only works on authorized URLs.
  • Localhost testing: Includes a test license key (wp-localhost-key) that works on localhost, making it easy to verify the integration during development.
  • License policy configuration: Provides guidance on setting up a Keygen policy with attributes like maxMachines: 1 and strict: true to enforce single-domain usage.
  • Settings page integration: Adds a settings menu in the WordPress admin where users can enter and validate their license key.
  • Extensible foundation: The code is structured as a starting point—you can add error handling, machine activation, or client-side validation as needed for production use.

Package Contents

Package contents information is not available yet.

Version History

No version history available for this item yet.

Comments

No comments yet. Be the first to start the conversation!

Security Scan

More themes and plugins like Example Plugin

About

A reference plugin that ties Keygen licensing to a single domain. Shows how to validate site-locked licenses on localhost.

  • Example Plugin
  • v1.0.0
  • 5 days ago
  • Apr 25, 2026
  • Access: Silver
  • Keygen
  • Plugin
  • 0
  • No comments