Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * separate media categories from post categories
- * use a custom category called 'category_media' for the categories in the media library
- */
- add_filter( 'wpmediacategory_taxonomy', function(){ return 'category_media'; } );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement