July 7, 2016
Returns a paginated navigation composed of page numbers linked to the next/previous set of posts if they exist. These functions are used for post listings (like index.php) or archives (like archives.php).
This function only returns the markup. To display it you must echo it or usethe_posts_pagination().
If the post is not paginated it returns an empty string.