Active installations10Adoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org
Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →
WP PlugIndex currently records Remove Extra Media version 1.1.1 as active, updated 11y ago and tested up to WordPress 4.3.
Overview
About this plugin
Use Remove Extra Media to remove extra media attachments from your selected post types.
In my use case, my testimonials widgets post types in some cases, for whatever reason, had up to 7 extra media attachments related to them. I wanted a quick way to clear those excess out. Considering that the only image or media attachment a testimonial should have was the featured, I simply removed all the others.
This tool works by removing the attachment relationship as this saves the media file in case it’s used by other attachments. Using wp_delete_attachment would delete the media file, which is something to avoid.
Primary Features
API
Ajax based processing screen
Media isn’t deleted, only unattached from post type entry
Settings export/import
Settings screen
Variable allowed media count
Settings Options
General
Post Type – Post type to remove excess media from.
Media Limit – Number of media items to limit selected post types to. Count includes featured image.
Testing
Debug Mode – Bypass Ajax controller to handle posts_to_import directly for testing purposes.
Posts to Import – A CSV list of post ids to import, like ‘1,2,3’.
Skip Importing Posts – A CSV list of post ids to not import, like ‘1,2,3’.
Import Limit – Useful for testing import on a limited amount of posts. 0 or blank means unlimited.
Compatibility & Reset
Export Settings – These are your current settings in a serialized format. Copy the contents to make a backup of your settings.
Import Settings – Paste new serialized settings here to overwrite your current configuration.
Remove Plugin Data on Deletion? – Delete all Remove Extra Media data and options from database on plugin deletion
Reset to Defaults? – Check this box to reset options to their defaults
Notes
TBD
API
Read the Remove Extra Media API.
Localization
You can translate this plugin into your own language if it’s not done so already. pot can be found in the languages folder of this plugin. After translation, please send the localized file for plugin inclusion.
How do I localize?
Serbian by Ognjen Djuraskovic
Spanish by Ognjen Djuraskovic
WordPress.org metadata
Plugin tags
Topics listed for this plugin in the WordPress.org directory.
media
posts
remove
Compatibility & maintenance
Compatibility & maintenance
Tested up to WordPress 4.3
Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 4.3.
Current WordPress releaseWordPress 7.1
WordPress.org Tested up to4.3
Minimum requirementsWordPress 3.9.2 · PHP not listed
Update activity18 Jun 201511y ago
“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.
Changes recorded by WP PlugIndex
Recent tracked changes
No tracked version or compatibility changes have been recorded by WP PlugIndex yet.
Tracking & source
WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.