Avatar Privacy icon
Membership & Users

Avatar Privacy

Enhances the privacy of your users and visitors with gravatar opt-in and local avatars.

  • By pepe
  • v2.7.0
  • Updated
Developer pepe
44 Needs attentionmaintenance
  • 17 yearson WordPress.org
  • 3plugins
  • 11,900+installs in total
  • 4.7★avg. rating (115)
  • 33%of plugins updated this year
4/14 badges Profile →

Not recommended for new sites

Better alternatives to Avatar Privacy

  • Problem: Not maintained Last updated 4 years ago (version 2.7.0).
  • Problem: Not tested with recent WordPress Tested up to WordPress 6.2; the current release is 7.1. Needs PHP 7.4+.
  • Pass: Well rated Rated 5.0/5 by 25 users on WordPress.org.
  • Pass: Widely used Active on 1,000+ sites.

For a new site, or if you are planning a rebuild, choose a plugin that is still maintained. Unmaintained plugins stop getting security fixes and tend to break as WordPress and PHP move on.

Simple Local Avatars icon

Best match

Simple Local Avatars

Updated 3 months ago, tested with WordPress 7.1, rated 4.6/5 by 89 users, used on 100,000+ sites.

Setup guide →
Compare Avatar Privacythis plugin Simple Local Avatars
Last updated 4 years ago3 months ago
Tested up to WordPress 6.2WordPress 7.1
Active installs 1,000+100,000+
Rating 5.0 / 5 (25)4.6 / 5 (89)
PHP code size 1,012 KB in 192 PHP files–
Hooks for developers 349

Switching from Avatar Privacy?

  1. Try the replacement on a staging copy of your site first.
  2. Note your current settings, shortcodes and widgets. They won't carry over automatically.
  3. Activate the new plugin, recreate the setup, then deactivate and delete the old one.

Need your settings or data moved over? We can migrate it for you.

Find other outdated plugins on your site with the free plugin checker →

Alternatives are matched on features and ranked by maintenance, WordPress compatibility, ratings and adoption, using WordPress.org data.

Overview

Avatar Privacy describes itself as: “Enhances the privacy of your users and visitors with gravatar opt-in and local avatars.”

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

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

How to install Avatar Privacy

  1. Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
  2. Search for it. Type “Avatar Privacy” and pick the one by pepe.
  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 avatar-privacy --activate

Requirements: WordPress 5.6+ · PHP 7.4+ · tested up to WordPress 6.2.16

Hooks & customisation

Avatar Privacy 2.7.0 fires 2 actions and 32 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.

avatar-privacy — top hooks
// This action is documented in class-uninstallation.php
do_action( 'avatar_privacy_uninstallation_site', $site_id );

// Filters the `rel` attribute for user-visible links to gravatar.com.
apply_filters( 'avatar_privacy_gravatar_link_rel', 'noopener nofollow' );

// Filters the `target` attribute for user-visible links to gravatar.com.
apply_filters( 'avatar_privacy_gravatar_link_target', '_self' );

// This filter is documented in avatar-privacy/components/class-avatar-handling.p…
apply_filters( 'avatar_privacy_legacy_icon_url', $url, $hash, $size, [ 'force' => $args['force'] ] );

// This action is documented in class-uninstallation.php
do_action( 'avatar_privacy_uninstallation_global' );

// Filters how often the clean-up cron job for old images should run.
apply_filters( 'avatar_privacy_all_images_cleanup_interval', 7 * \DAY_IN_SECONDS );

Browse all 34 hooks with examples →

Avatar Privacy: frequently asked questions

Is Avatar Privacy free?

Yes. Avatar Privacy 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 Avatar Privacy safe to use?

Avatar Privacy has not been updated for 4 years. Plugins without updates stop receiving security fixes, so we recommend a maintained alternative for new sites. Users rate it 5.0 out of 5 from 25 reviews on WordPress.org. As with any plugin, keep it updated and only install it from WordPress.org or the developer.

Does Avatar Privacy work with WordPress 7.1?

It isn't confirmed. Avatar Privacy was last tested with WordPress 6.2, 9 releases behind the current 7.1, so test it on a staging site before relying on it. It requires WordPress 5.6 or later and PHP 7.4 or later.

How many websites use Avatar Privacy?

Avatar Privacy is active on 1,000+ WordPress sites, according to WordPress.org. It is currently at version 2.7.0, last updated on May 1, 2023.

What are the best alternatives to Avatar Privacy?

Plugins that do a similar job and are actively maintained include Simple Local Avatars (100,000+ installs). See the side-by-side comparison.

Can I customise Avatar Privacy without editing its code?

Yes. Avatar Privacy 2.7.0 fires 2 actions and 32 filters that you can use from a child theme or a code snippets plugin, so your changes survive plugin updates. Browse all 34 hooks with examples.

Done for you

Let us deal with Avatar Privacy for you

Move to a maintained plugin without losing your settings, or keep this one and have it brought up to date.

Update an abandoned plugin

from $249

Keep the plugin your site depends on, made safe for current WordPress and PHP.

  • Compatibility with current WordPress and PHP
  • Security review and fixes
  • Deprecated code replaced
  • You keep a maintained copy

Typical turnaround: 5–10 business days

Choose this

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

Need Avatar Privacy 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 pepe. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 19, 2026.

More plugins by pepe

All 3 →

Improve your web typography with: hyphenation, space control, intelligent character replacement, and CSS hooks.

10,000+ installs Updated 4 weeks ago 21 hooks
Not updated in 3+ years

Adds a "Credit" field when uploading media to posts and displays it under the images on your blog to properly…

900+ installs Updated 4 years ago 16 hooks

Alternatives in Membership & Users

See all →

Change wp-login.php to anything you want.

2+ million installs Updated 1 week ago 5 hooks
Loginizer icon

Loginizer

1,034

Loginizer is a WordPress security plugin which helps you fight against bruteforce attacks.

1+ million installs Updated 3 days ago 17 hooks
Reviewed

User Role Editor WordPress plugin makes user roles and capabilities changing easy. Edit/add/delete WordPress user roles and capabilities.

700,000+ installs Updated 6 days ago 49 hooks

Password protect your WordPress site with one password. Control access, whitelist trusted IPs, and monitor password activity.

300,000+ installs Updated 4 days ago 63 hooks