/** * 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'; } ); //requires PHP 5.3 or newer
Warning: Cannot modify header information - headers already sent by (output started at /home1/oldcarguy/public_html/wp-content/themes/automotive-child/functions.php:9) in /home1/oldcarguy/public_html/wp-includes/pluggable.php on line 1207