Skip to content

Searches WordPress media library for unattached media and tries to locate the file to it's post

License

Notifications You must be signed in to change notification settings

olind/wp_media_attacher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

wp_media_attacher

Searches WordPress media library for unattached media, tries to locate the post where it's used and attach the media.

Place the folder in wp-content Use WP-CLI to run it with: wp eval-file wp_media_attacher.php --debug and to save all output to log file wp eval-file wp_media_attacher.php --debug > doit.log 2>&1

Not nearly production quality. Used to clean my own really old (20+ years) websites.

About

Searches WordPress media library for unattached media and tries to locate the file to it's post

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages