🚀 How to Set Up VeriLock

A Step-by-Step Guide to Secure Your Plugins & Themes

VeriLock is an online license manager that protects your plugins and themes from unauthorized use.
Follow this step-by-step guide to integrate VeriLock into your product.


Step 1: Register on VeriLock

  1. Go to app.myverilock.com
  2. Click Register and create an account.
  3. Enter your email and password.
  4. Add your redeem code (from purchase).
  5. Click Sign Up.

Step 2: Access the Dashboard

  1. Login to view the VeriLock Dashboard.
  2. Here you can manage products and licenses.

Step 3: Create a Product

  1. Go to Products tab → Add New Product.
  2. Enter your product nameSave.
  3. Your product is now ready for license generation.

Step 4: Generate a License Code

  1. Open the Licenses section.
  2. Select your product.
  3. Click Create License → set limit & expiry (optional).
  4. Click Generate License → done ✅

Step 5: Generate the Verification Script

  1. Go to Generate Script.
  2. Select your product → Generate Script.
  3. Copy the script.

💻 Coding Part – Integrate VeriLock

Step 6: Add the License File

  1. Create a new PHP file in your plugin/theme (e.g., verilock-license.php).
  2. Paste the script you copied.
  3. Save it.

Step 7: Include the License File

  1. Open your main plugin file (e.g., your-plugin.php).
  2. Add this at the top:
include_once plugin_dir_path(__FILE__) . 'verilock-license.php';

Step 8: Restrict Access Until License is Activated

Example snippet:

public function snow_flakes_add_plugin_page()
{
    if (is_plugin_activated6093()) {
        add_menu_page(
            __('freeazio', 'nr_snow_flakes'),
            __('freeazio', 'nr_snow_flakes'),
            'manage_options',
            'snow-flakes',
            array($this, 'snow_flakes_create_admin_page'),
            'dashicons-tickets-alt',
            100
        );
    } else {
        add_action('admin_notices', function () {
            echo '<div class="notice notice-error"><p>
            <strong style="color: red;">
            Please activate your license. 
            <a href="' . admin_url('options-general.php?page=license-validator6093') . '" style="color: red;">Activate Now</a>
            </strong></p></div>';
        });
    }
}

🎉 Final Step: Done!

Your plugin/theme is now protected with VeriLock.
Only users with a valid license can activate and use it.

💡 Need help? Drop your questions anytime 🚀