Legal Pages – Privacy Policy, Terms & Conditions, GDPR, CCPA, and Cookie Notice Generator source code

By wpWax, on WordPress.org since 2017. 8,000+ active installs.

Browse code Download zip

👉 Pro Version | Documentation | Support 👈 Legal Pages is a WordPress legal pages generator that helps you create and customize important legal documents for your website, including a Privacy Policy, Terms and Condition... Below is its source code for every one of its 38 releases, what changed in the latest one, and how often it ships.

What changed in 1.8.3

Released Nov 15, 2026, 2 weeks after 1.8.2
  • Free * New: Black Friday sale — Legal Pages Pro is 50% off, lifetime plans included, from November 15 to December 5, 2026. The offer shows only on the Legal Pages screens, only to administrators without a Pro license, and goes away by itself after December 5. You can close the top notice and the banner * New: Smart Policy screen (Legal Pages → Smart Policy) — see which third-party services your site uses, found from your active plugins, your content, the cookie scan and your WordPress settings. The list updates when plugins are activated or deactivated, and is re-checked daily or whenever you click Re-check * New: The Privacy Policy templates now include the [lp_smart_policy] tag. It shows nothing without Legal Pages Pro, and pages you have already created are not changed * Update: Pages that use region sections are now also refreshed in WP Fastest Cache when you change Regions Served * Fix: Updating the plugin could change digits in your legal pages (for example “WCAG 2.1” became “WCAG 2.[zipCode]”) when your phone number or ZIP code in Settings contained only digits. Pages already affected are not repaired automatically, so please check yours
  • Pro * New: Smart Policy — [lp_smart_policy] adds a “Third-party services we use” section to your Privacy Policy, with a clause for each service your site uses and a link to the provider’s privacy policy where one applies * New: Sites that serve the EU or UK also get a legal basis line for each category of service, and a line naming the services that may transfer data outside the EU and UK. Choose your regions in Settings → Regions Served * New: Switch off a detected service or add one by hand on the Smart Policy screen, and get a notice when a new service is found * Update: The policy version in the consent log changes when your Smart Policy list changes * Fix: The Google Maps entry in Block Services did not match normal map embeds * Note: Legal Pages Pro 2.3.0 needs Legal Pages 1.8.3 or newer for Smart Policy

30 files changed since 1.8.2: 25 modified, 5 added, 0 removed.

And 20 more.

Compare 1.8.2 with 1.8.3

Release history

38 releases since February 2018
  1. 1.8.3 Nov 15, 2026 Free * New: Black Friday sale — Legal Pages Pro is 50% off, lifetime plans included, from November 15 to December 5, 2026. The offer shows only on the Legal Pages screens, only to administrators without a Pro license, and goes away by itself after December 5. You can close the top notice and the banner * New: Smart Policy screen (Legal Pages → Smart Policy) — see which third-party services your site uses, found from your active plugins, your content, the cookie scan and your WordPress settings. The list updates when plugins are activated or deactivated, and is re-checked daily or whenever you click Re-check * New: The Privacy Policy templates now include the [lp_smart_policy] tag. It shows nothing without Legal Pages Pro, and pages you have already created are not changed * Update: Pages that use region sections are now also refreshed in WP Fastest Cache when you change Regions Served * Fix: Updating the plugin could change digits in your legal pages (for example “WCAG 2.1” became “WCAG 2.[zipCode]”) when your phone number or ZIP code in Settings contained only digits. Pages already affected are not repaired automatically, so please check yours
  2. 1.8.2 Oct 27, 2026 Pro * New: “Accessibility Statement” template (WCAG 2.1 AA / EN 301 549), with an EU complaints section that shows only when you serve the EU (Settings → Regions Served) * Note: Legal Pages Pro 2.2.1 is a version bump for this release; it still works with Legal Pages 1.8.0 or newer, and the new template appears once Legal Pages 1.8.2 is installed
  3. 1.8.1 Oct 19, 2026 Update: Plugin directory tags now include “Cookie banner”
  4. 1.8.0 Oct 19, 2026 Free * New: “Regions Served” setting (Settings and Setup Wizard) — tick the regions your business serves (EU/EEA, United Kingdom, United States, Canada, Australia) * New: [lp_if region=”…”]…[/lp_if] shortcode — show a section of a legal page only for the regions you serve; pages update by themselves when you change the setting * New: [lp_cookie_table] shortcode, a short name for [legal_pages_cookie_list] * Update: The shortcode list in the page editor explains the cookie and region shortcodes, shows their short lp_ names and copies a complete [lp_if] example * Update: Pages that use region sections are refreshed in caches that clear on post updates (e.g. WP Super Cache) when you change Regions Served * Fix: Updating the plugin could add the same new template twice when several visitors opened the site at the same moment * Fix: The plugin could fail to load its files when WordPress was started from another folder (some WP-CLI and cron setups)
  5. 1.7.1 Oct 4, 2026 Fix: The disclaimer screen appeared again after accepting it and moving to another Legal Pages screen
Full Legal Pages – Privacy Policy, Terms & Conditions, GDPR, CCPA, and Cookie Notice Generator changelog with diffs

Source of 1.8.3

494 files
Browse all Legal Pages – Privacy Policy, Terms & Conditions, GDPR, CCPA, and Cookie Notice Generator 1.8.3 files Browse trunk