I am working on many WordPress websites and I use this command (<meta name='robots' content='noindex, follow' />) on Pagination pages like page 2, page 3 and so on. Such pages may occur duplicacy so I set this command. In this command, Google will not index those pages but will follow all content or products. I mainly use this command on eCommerce websites.
Thanks.