get_previous_posts_link add class wordpress

get_previous_posts_link( $label , $max_page );

This function creates a link to the previous set of posts within the current query, assigned to the function in the wp_query context. The output should be used within the WordPress Loop. The arguments are both optional. The $label parameter is a string that will be used as the link text on the anchor. The $max_page parameter is used to determine the highest page number, as for paged comments.