🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Conta Get it free
Autoremove Attachments icon
Mantido Testado até 6.9.12 #11 in attachment

Autoremove Attachments

Remove child attachments when parent post, page or custom post type is deleted.

Instalações ativas2K+Nível 1K+
Downloads · 30d1K▲ +29.7% vs prev. 30d
Classificação5/515 reviews
Pontuação da saúde59/100Justo
Downloads de todos os tempos41.2KSince Jul 2015
Suporte resolvido1 / 1100% nos últimos 2 meses
RequerWP 5.8Php 7.4+
Downloads · 7d288▲ +16.1% week over week
Nosso veredicto

Use com cautela

Autoremove Attachments works, but test it on a staging site before relying on it in 2026. It runs on 2K+ sites, is rated 5/5 and was last updated 7 months ago, and scores 59/100 on our health check.

  • Momentum — downloads up 29.7% vs the previous 30 days
  • Testado apenas até WordPress 6.9 (mais recente é 7.1)

Como ele se acumula?

Lado a lado em instalações, atualizações, avaliações e suporte

Downloads diários

193958Sep 5Oct 19Dec 3
Ontem32
Média diária (1y)24
Dia de pico78Dec 2, 2026
Últimos 12 meses8.7K

Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.

Rankings

Where Autoremove Attachments stands today

WordPress.org Classificações de pesquisa

Posição ao vivo na pesquisa de plugins, top 100
Palavra chavePosiçãoPlugins concorrentesCategoria
anexo #7 4,413 Melhores plugins de anexos →
custom post type >100 10,000 Best custom post type plugins →
mídia >100 10,000 Melhores plugins de mídia →
página >100 10,000 Melhores plug-ins de página →
post >100 10,000 Best post plugins →

Adoção da versão

Compartilhamento de sites ativos por lançamento.

  • 1.395.5%
  • Outros4.6%

Divisão de classificação

★★★★★★★★★★ 5 from 15 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About Autoremove Attachments

Do Readme oficial · v1.3.1

Descrição

Autoremove Attachments helps you keep the Media Library clean by deleting all media files attached as child attachments to a post, page, or custom post type when the parent is deleted.

By default, when you delete content from your website, regardless if it’s a post, a page, a product, or any kind of post type, WordPress keeps the media files previously associated with it, even if after the removal of your content they are not used anywhere else.

Autoremove Attachments tries to solve this problem by automating the removal of all media files that have a child-parent relationship with the removed content. (so you don’t have to manually track and remove orphan files left on your server)

Important Considerations

  • A soft delete that places your post, page, or custom post type in Trash will not trigger the removal of its child attachments. The purge happens when you empty your trash.
  • When you delete a post, page or custom post type, we try to determine if its child attachments are used anywhere else on your website. If they are, we do not remove them, to prevent broken links.
  • The additional checks before the automatic removal can be disabled from the Media Settings for improved performance on large websites with thousands of posts and media files.
  • The plugin only removes files tracked by WordPress. Some poorly coded themes generate additional thumbnail sizes that are not tracked by WordPress and this always leads to orphan files left on your server.

Compatibility and Third-Party Support

If you use a plugin to optimize and clean your database of revisions, trashed posts, etc, make sure you use one that relies on native WordPress functions to perform the maintenance tasks. We recommend WP-Sweep.

Instalação

Instalação automática

The automatic installation is the easiest option to install a plugin as WordPress handles the file transfers itself. To do an automatic install, log in to your WordPress dashboard and follow the steps below:

  1. Navigate to the Plugins menu and click “Add New”
  2. In the search field type “Autoremove Attachments” and click “Search Plugins”
  3. Once you have found the plugin install it by clicking “Install Now”
  4. Activate “Autoremove Attachments” from the “Plugins” menu

Manual Installation

The manual installation method involves downloading the plugin and uploading it on your server via SFTP. To do a manual install follow the steps below:

  1. Download the plugin to your local computer
  2. If downloaded as a zip archive extract it to your Desktop
  3. Upload the plugin folder to the /wp-content/plugins/ directory
  4. Activate “Autoremove Attachments” from the “Plugins” menu

Log de Changes

Version 1.3.1

  • Minor improvements to admin notices

Version 1.3.0

  • Minor code refactoring
  • Language files updated

Version 1.2.1

  • Fixed a bug that blocked changes to image sizes under Settings > Media

Version 1.2.0

  • Minor code refactoring
  • Extended support for WooCommerce and Easy Digital Downloads.
  • New safety checks when you empty your trash – We now try to determine if the child attachments marked for removal are used anywhere else on your website. If they are, we do not remove them, to prevent broken links.
  • New option under Settings > Media to disable the extra checks for improved performance on large websites with thousands of posts and media files. (where you might experience slow queries and timeouts when you empty your trash)

Other important considerations

  • With the new safety checks enabled it’s fairly safe to reuse attachments between posts. But please, keep in mind, they are not fool-proof, especially if you store media file IDs or URLs in custom fields. That’s why we recommend you avoid reusing your attachments between posts, if possible.
  • If you need to use an attachment over and over again, upload it from the global Media Library menu ( Media > Add New ). This way, it won’t be attached as a child to a specific post, page, or custom post type.

Version 1.1.2

  • New filter added to allow developers define custom rules for controlling when the child attachments should be removed automatically
  • Removed the old ‘autoremove_attachments_post_types’ filter in favor of the new one – instructions available in FAQ

Version 1.1.1

  • New filter added to allow developers to change for what post types the child attachments should be removed automatically ( see FAQ for instructions )
  • Fixed a minor incompatibility with WP-Sweep

Registro de change completo em WordPress.org →

Para desenvolvedores

Este é o seu plugin? Mostre os números.

Adicione um crachá ao vivo ao seu site, Documentos ou Readme do GitHub. Ele é atualizado por conta própria - nenhuma conta necessária.

Selo de Instalações Ativas Selo de classificação Distintivo de pontuação de saúde

Best Autoremove Attachments alternatives

Todos os plugins de anexos →
Alternativas
Classificação Plugin Instalações ativas Classificação Atualizada Saúde
1 Gerador de PDF fluente Gerador de PDF fluente Gere PDF a partir de seus envios de formulários e faça o download/enviar por e-mail por wpmanageninja 20K+ ★★★★★★★★★★ 5 (6) 3 meses atrás 70
2 Redirecionamento de páginas de anexos Redirecionamento de páginas de anexos Redirecione as páginas de anexos ou retorne um erro 404 para elas com base no status da postagem pai. Por Samuel Aguilera 10K+ ★★★★★★★★★★ 4.9 (47) 11 meses atrás 62
3 Desative as páginas de mídia Desative as páginas de mídia Remova completamente as páginas de "anexo" para WordPress mídia. Melhore SEO e evite conflitos… por Joppuyo 9K+ ★★★★★★★★★★ 5 (17) 3 meses atrás 80
4 Anexos Anexos Os anexos permitem que você simplesmente anexe qualquer número de itens da sua mídia WordPress… Por Jon Christopher 8K+ ★★★★★★★★★★ 4.8 (53) 11 meses atrás 64
5 Baixe anexos Baixe anexos Download Anexos é uma nova abordagem para gerenciar downloads em WordPress. Ele permite que você… por dFactory 8K+ ★★★★★★★★★★ 4.5 (46) 1 semana atrás 91
6 Anexo do produto para WooCommerce Anexo do produto para WooCommerce O plug-in permite que você carregue facilmente qualquer tipo de arquivo (imagens, documentos, vídeos, etc.) por dotstore 6K+ ★★★★★★★★★★ 4.5 (24) 1 mês atrás 87
7 Anexo de comentários DCO Anexo de comentários DCO Permite que seus visitantes anexem arquivos com seus comentários Por Denis Yanchevskiy 5K+ ★★★★★★★★★★ 4.9 (10) 4 anos atras 30
8 Pesquisa de mídia aprimorada Pesquisa de mídia aprimorada Pesquise todos os campos na Biblioteca de mídia. por Yoren Chang 4K+ ★★★★★★★★★★ 4.4 (28) 3 dias atrás 90
9 Importador de anexos Importador de anexos Importe anexos de outro blog WordPress usando um arquivo WXR. Por Spencer Piontkowski 3K+ ★★★★★★★★★★ 4.3 (26) 12 anos atrás 42
10 Dx delete mídia anexada Dx delete mídia anexada Exclui automaticamente a mídia anexada de postagens e tipos de postagem personalizados adicionados por meio da mídia… Por Mario Peshev 3K+ ★★★★★★★★★★ 4.9 (28) 1 mês atrás 84

FAQ

Autoremove Attachments: quick answers

Respostas diretas, extraídas de dados ao vivo WordPress.org.

Fonte: WordPress.org

Is Autoremove Attachments free?

Yes. Autoremove Attachments is free to download and use from the official WordPress.org plugin directory.

Is Autoremove Attachments safe to use in 2026?

Autoremove Attachments works, but test it on a staging site before relying on it in 2026. It runs on 2K+ sites, is rated 5/5 and was last updated 7 months ago, and scores 59/100 on our health check.

How many websites use Autoremove Attachments?

Autoremove Attachments is active on 2K+ WordPress websites and has been downloaded 41,182 times since it launched in July 2015. It was downloaded 1,027 times in the last 30 days.

Does Autoremove Attachments work with WordPress 7.1?

Autoremove Attachments is officially tested up to WordPress 6.9.12, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

What PHP version does Autoremove Attachments need?

Autoremove Attachments requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Autoremove Attachments last updated?

The latest version, 1.3.1, was released on May 10, 2026 (7 months ago).

Who makes Autoremove Attachments?

Autoremove Attachments is developed and maintained by Polygon Themes.

What are the best alternatives to Autoremove Attachments?

The most popular alternatives to Autoremove Attachments are Fluent PDF Generator (20K+ installs), Attachment Pages Redirect (10K+ installs) and Disable Media Pages (9K+ installs).

Alimentado por PageForge

Um modelo e uma planilha. Uma página real para cada pesquisa.

PageForge Transforma cada linha de um CSV em uma página WordPress com seu próprio título, URL, SEO campos e esquema, construído no layout que você já desenhou. Gratuito em WordPress.org.

  • CSV e XLSX, mais Google Sheets em Profissional e Empresarial
  • Seu próprio título, URL, SEO campos e esquema para cada página
  • Funciona com o editor de blocos, Elementor, Divi e Avada
  • Gratuito em WordPress.org, sem cartão de crédito

↑↓ mover↵ abrir