How to change dynamically the pros/cons heading text

By default the pros and cons heading text is wrapped using the h2 tags. You can change them to the proper tags for your website using the wppr_review_pros_text and wppr_review_cons_text filters. You can also change dynamically the text, having different one for each review targeting the $id parameter from the filter. Here you have a small snippet that changes the html format

///for cons 
add_filter( 'wppr_review_cons_text','wppr_review_cons_text_filter_demo',11,2 );

function wppr_review_cons_text_filter_demo( $id, $name = '' ) {
	$name = strip_tags ($name);
	return '<span style="font-size:14px">'.$name.'</span>';

}

//for pros
add_filter( 'wppr_review_pros_text','wppr_review_pros_text_html_filter_demo',11,2 );

function wppr_review_pros_text_html_filter_demo( $id, $name = '' ) {
	$name = strip_tags ($name);
	return '<span style="font-size:14px">'.$name.'</span>';

}