Is WP Attachments safe to install?
Good choice: actively maintained
- Pass: Actively maintained Last updated 2 months ago (version 6.1).
- Pass: Compatible with current WordPress Tested up to WordPress 7.2; the current release is 7.1. Needs PHP 7.4+.
- Pass: Well rated Rated 4.5/5 by 43 users 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 19, 2026. Always keep plugins updated and test changes on a staging site.
Overview
WP Attachments describes itself as: “Attach files to any post or page and let WP Attachments list them for you, with icons, file sizes and a download counter.”
It is active on 3,000+ WordPress sites and rated 4.5 out of 5 by 43 users on WordPress.org. Developers can extend it through 0 actions and 8 filters, listed below.
Downloads & growth
How often WP Attachments 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 WP Attachments
- Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
- Search for it. Type “WP Attachments” and pick the one by Marco Milesi.
- 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-attachments --activateRequirements: WordPress 5.0+ · PHP 7.4+ · tested up to WordPress 7.2
Hooks & customisation
WP Attachments 6.1 fires 0 actions and 8 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.
// Filter whether the current visitor may download an attachment through the coun…
apply_filters( 'wpatt_can_download', $allowed, $attachment_id );
// Filter whether the current request may increment a download counter.
apply_filters( 'wpatt_count_download_request', $countable );
// Filter how long the same visitor is ignored for the same file.
apply_filters( 'wpatt_download_throttle', 5 * MINUTE_IN_SECONDS, $ID );
// Filter whether the attachments list is appended to this content.
apply_filters( 'wpatt_should_render', $render, $post );
// Filter in wp-attachments.php
apply_filters( 'wpatt_accepted_formats', sanitize_title($attachment->post_mime_type) );
// Filter in wp-attachments.php
apply_filters( 'wpatt_after_entry_html', $html );WP Attachments: frequently asked questions
Is WP Attachments free?
Yes. WP Attachments 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 Attachments safe to use?
WP Attachments is actively maintained: the latest version was released 2 months ago. Users rate it 4.5 out of 5 from 43 reviews on WordPress.org. As with any plugin, keep it updated and only install it from WordPress.org or the developer.
Does WP Attachments work with WordPress 7.1?
Yes. WP Attachments is tested up to WordPress 7.2, the current release. It requires WordPress 5.0 or later and PHP 7.4 or later.
How many websites use WP Attachments?
WP Attachments is active on 3,000+ WordPress sites, according to WordPress.org. It is currently at version 6.1, last updated on October 5, 2026.
What are the best alternatives to WP Attachments?
We didn't find a maintained plugin that does exactly the same job. Browse the top-rated Media, Galleries & Sliders plugins for related options.
Can I customise WP Attachments without editing its code?
Yes. WP Attachments 6.1 fires 0 actions and 8 filters that you can use from a child theme or a code snippets plugin, so your changes survive plugin updates. Browse all 8 hooks with examples.
Done for you
Need WP Attachments 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 WP Attachments 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 Marco Milesi. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 19, 2026.