``` //RSS 排除分类 ID function exclude_category($query) { if ( $query->is_feed ) { $query->set('cat', '-55, -1'); } return $query; } add_filter('pre_get_posts', 'exclude_category'); ```