To disable a custom post types archive page, we should use the following code:
$args = array( 'has_archive' => false, );
But when we use
has_archive, the feeds page (like :
name.com/books/feed) of that custom post type becomes disabled too. Now I want to know how I can disable custom post types archive page but keep the feed active?