Is Cookies and Content Security Policy safe to install?
Good choice: actively maintained
- Pass: Actively maintained Last updated 2 weeks ago (version 2.42).
- Pass: Compatible with current WordPress Tested up to WordPress 7.1; the current release is 7.1. Needs PHP 7.4+.
- Pass: Well rated Rated 4.9/5 by 67 users on WordPress.org.
- Pass: Widely used Active on 10,000+ sites.
Check every plugin on your site with the free WordPress plugin checker →
Based on WordPress.org data, checked Nov 19, 2026. Always keep plugins updated and test changes on a staging site.
Overview
Cookies and Content Security Policy describes itself as: “Be fully GDPR and CCPA compliant through Content Security Policy. Blocks cookies and unwanted external content.”
It is active on 10,000+ WordPress sites and rated 4.9 out of 5 by 67 users on WordPress.org. Developers can extend it through 1 actions and 1 filters, listed below.
Downloads & growth
How often Cookies and Content Security Policy is downloaded from WordPress.org each day, over the last 90 days.
Source: WordPress.org download statistics. Downloads include updates on existing sites, so tall spikes usually mark a new release. See what's trending →
How to install Cookies and Content Security Policy
- Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
- Search for it. Type “Cookies and Content Security Policy” and pick the one by Johan Jonk Stenström.
- Install and activate. Click Install Now, then Activate.
Install with a zip file or WP-CLI
Download the zip from the WordPress.org plugin page, then go to Plugins → Add New Plugin → Upload Plugin, choose the file and click Install Now. Or from the command line:
wp plugin install cookies-and-content-security-policy --activateRequirements: WordPress 5.0+ · PHP 7.4+ · tested up to WordPress 7.1.5
Hooks & customisation
Cookies and Content Security Policy 2.42 fires 1 actions and 1 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.
// Filter in inc/plugin-compability.php
apply_filters( 'active_plugins', get_option( 'active_plugins' ) );
// Action in inc/plugin-compability.php
do_action( 'wpsc_add_cookie', 'cookies_and_content_security_policy' );Cookies and Content Security Policy: frequently asked questions
Is Cookies and Content Security Policy free?
Yes. Cookies and Content Security Policy is free to download from the official WordPress.org plugin directory and is licensed under the GPL, so you can use it on as many sites as you like. Some developers sell a separate Pro version or paid add-ons; check the developer's website for details.
Is Cookies and Content Security Policy safe to use?
Cookies and Content Security Policy is actively maintained: the latest version was released 2 weeks ago. Users rate it 4.9 out of 5 from 67 reviews on WordPress.org. As with any plugin, keep it updated and only install it from WordPress.org or the developer.
Does Cookies and Content Security Policy work with WordPress 7.1?
Yes. Cookies and Content Security Policy is tested up to WordPress 7.1, the current release. It requires WordPress 5.0 or later and PHP 7.4 or later.
How many websites use Cookies and Content Security Policy?
Cookies and Content Security Policy is active on 10,000+ WordPress sites, according to WordPress.org. It is currently at version 2.42, last updated on November 4, 2026.
What are the best alternatives to Cookies and Content Security Policy?
Plugins that do a similar job and are actively maintained include WPConsent (200,000+ installs), iubenda (200,000+ installs), SureCookie (80,000+ installs).
Can I customise Cookies and Content Security Policy without editing its code?
Yes. Cookies and Content Security Policy 2.42 fires 1 actions and 1 filters that you can use from a child theme or a code snippets plugin, so your changes survive plugin updates. Browse all 2 hooks with examples.
Done for you
Need Cookies and Content Security Policy to do more?
Clear starting prices, an exact quote before any work, and changes built so plugin updates never wipe them.
Plugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisCustom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisBug or conflict fix
from $79
Errors, broken layouts or two plugins that don’t get along.
- Find the cause on a staging copy
- Fix without breaking updates
- Explain what was wrong
Typical turnaround: 1–3 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Need Cookies and Content Security Policy customised?
Tell us what you want changed, added or fixed and we'll reply with an estimate.
WP EXPERTS is independent and not affiliated with Johan Jonk Stenström. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 19, 2026.