WP Anti-Clickjack icon
Security

WP Anti-Clickjack

Protect your WordPress site from clickjacking with X-Frame-Options and CSP frame-ancestors headers plus a frame breaking script.

Developer Andy Feliciotti
100 Excellentmaintenance
  • 11 yearson WordPress.org
  • 7plugins
  • 14,140+installs in total
  • 5.0★avg. rating (75)
  • 100%of plugins updated this year
10/14 badges Profile →

Is WP Anti-Clickjack safe to install?

Good choice: actively maintained

  • Pass: Actively maintained Last updated 1 month ago (version 1.9.0).
  • Pass: Compatible with current WordPress Tested up to WordPress 7.1; the current release is 7.1. Needs PHP 7.0+.
  • Note: Few reviews so far 3 ratings on WordPress.org.
  • Pass: Widely used Active on 3,000+ sites.

Check every plugin on your site with the free WordPress plugin checker →

Based on WordPress.org data, checked Nov 23, 2026. Always keep plugins updated and test changes on a staging site.

Overview

WP Anti-Clickjack describes itself as: “Protect your WordPress site from clickjacking with X-Frame-Options and CSP frame-ancestors headers plus a frame breaking script.”

It is active on 3,000+ WordPress sites and rated 5.0 out of 5 by 3 users on WordPress.org. Developers can extend it through 0 actions and 4 filters, listed below.

We haven't published a hands-on review of WP Anti-Clickjack yet. Want one, or need help with it? Send us a request.

How to install WP Anti-Clickjack

  1. Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
  2. Search for it. Type “WP Anti-Clickjack” and pick the one by Andy Feliciotti.
  3. 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 wp-anti-clickjack --activate

Requirements: WordPress 5.0+ · PHP 7.0+ · tested up to WordPress 7.1.5

Hooks & customisation

WP Anti-Clickjack 1.9.0 fires 0 actions and 4 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.

wp-anti-clickjack — top hooks
// Filters whether to print the frame breaking script on the current page. Runs l…
apply_filters( 'wp_anti_clickjack', $display );

// Filters the origins allowed to put the site in a frame, in addition to the sit…
apply_filters( 'wp_anti_clickjack_allowed_origins', $origins );

// Filter in wp-anti-clickjack.php
apply_filters( 'wp_anti_clickjack_x_frame_options_header', true );

// Filter in wp-anti-clickjack.php
apply_filters( 'https_local_ssl_verify', false );

Browse all 4 hooks with examples →

WP Anti-Clickjack: frequently asked questions

Is WP Anti-Clickjack free?

Yes. WP Anti-Clickjack 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 WP Anti-Clickjack safe to use?

WP Anti-Clickjack is actively maintained: the latest version was released 1 month ago. As with any plugin, keep it updated and only install it from WordPress.org or the developer.

Does WP Anti-Clickjack work with WordPress 7.1?

Yes. WP Anti-Clickjack is tested up to WordPress 7.1, the current release. It requires WordPress 5.0 or later and PHP 7.0 or later.

How many websites use WP Anti-Clickjack?

WP Anti-Clickjack is active on 3,000+ WordPress sites, according to WordPress.org. It is currently at version 1.9.0, last updated on October 13, 2026.

What are the best alternatives to WP Anti-Clickjack?

We didn't find a maintained plugin that does exactly the same job. Browse the top-rated Security plugins for related options.

Can I customise WP Anti-Clickjack without editing its code?

Yes. WP Anti-Clickjack 1.9.0 fires 0 actions and 4 filters that you can use from a child theme or a code snippets plugin, so your changes survive plugin updates. Browse all 4 hooks with examples.

Done for you

Need WP Anti-Clickjack to do more?

Clear starting prices, an exact quote before any work, and changes built so plugin updates never wipe them.

Custom 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 this

Bug 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 this

Not sure which fits? Describe what you need and we’ll suggest the simplest option.

Need WP Anti-Clickjack 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 Andy Feliciotti. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 23, 2026.

More plugins by Andy Feliciotti

All 7 →

Simple accordion for adding collapse elements to pages without affecting page load time. Includes Gutenberg block and shortcode for classic…

10,000+ installs Updated 1 month ago 6 hooks

Publish AI-written posts to WordPress, then let Site Agent keep them ranking with internal links, meta fixes and freshness updates.

600+ installs Updated 6 days ago 2 hooks

Easily add Google Analytics 4 to WordPress using just your Measurement ID.

400+ installs Updated 1 month ago 5 hooks

Add an "Unlisted" toggle to posts and pages. Unlisted content stays viewable by link but is hidden from archives, feeds,…

100+ installs Updated 1 month ago 1 hooks

Alternatives in Security

See all →
Reviewed

The best anti-spam protection to block spam comments and spam in a contact form. The most trusted antispam solution for…

5+ million installs Updated 3 months ago 43 hooks

Firewall, Malware Scanner, Two Factor Auth, and Comprehensive Security Features, powered by our 24-hour team. Make security a priority with…

5+ million installs Updated 2 weeks ago 98 hooks

Easily improve site security with WordPress Hardening, Two-Factor Authentication (2FA), Login Protection, Vulnerability Detection and SSL certificate.

3+ million installs Updated 4 weeks ago 116 hooks

Simplified WordPress management. Manage site info, maintenance, security, & redirects.

3+ million installs Updated 7 days ago 7 hooks