I want to remove the feeds for specific custom post types. Most recommended methods are not clean. There seems to be a option called $args->feeds
but this does not work within the register_post_type()
function.
register_post_type(
...
'rewrite' => array('slug' => 'slug/%term&',
'with_front' => false,
'feeds' => false), // Remove feed rewrite-rules?
...
);
Source: Line 1324 - /wp-includes/post.php (Wordpress 3.5)
I'm looking for a solution, to disable the rule generation inside $wp_rewrite->rules
.