Enable Category/Tag support for WordPress Media files
![Enable Category/Tag support for WordPress Media files](https://i0.wp.com/faish.al/wp-content/uploads/2018/07/ndp5oj0ssps.jpg?fit=1600%2C1068&ssl=1)
To enable category/tag support on WordPress Media, You have to register taxonomy for Media(attachment) by adding following code in theme function.php
or in plugin file
register_taxonomy( 'media-category', 'attachment', $args );
Note : This will work with WordPress 3.5 or higher.