the_posts_pagination();
hook
$template= apply_filters( 'navigation_markup_template', $template, $class );
Note: Make WordPress Core
If you’ve written a child theme for Twenty Fifteen, please note that some of the new pagination functions have been renamed for a bit of clarity:
the_pagination()
is nowthe_posts_pagination()
get_the_pagination()
is nowget_the_posts_pagination()
- These two functions now emit a “posts-navigation” HTML class, instead of “paging-navigation”